ryantm
(Ryan Mulligan)
02.Март.2016 01:35:33
1
Hello.
Using GitHub - nlalonde/ruby-bbcode-to-md: Convert BBCode to Markdown. like
"[youtube]https://www.youtube.com/watch?v=COvnHv42T-A[/youtube]".bbcode_to_md
it returns
"http://www.youtube.com/watch?v=COvnHv42T-A"
stripping away the https.
Ryan
1 лайк
Hmm yeah that looks like a bug we should fix. Does it affect Discourse too, presumably yes?
1 лайк
ryantm
(Ryan Mulligan)
02.Март.2016 17:31:25
3
Yes, because Importing from phpBB3 recommends using it.
1 лайк
gerhard
(Gerhard Schlager)
02.Март.2016 22:53:22
4
I think you are mistaken. That Howto doesn’t recommend using bbcode_to_md.
Well, it doesn’t discourage its usage either, but at least it’s off by default.
And does it affect Discourse itself? No, only the import scripts that are using that gem.
1 лайк
ryantm
(Ryan Mulligan)
02.Март.2016 23:20:55
5
Sorry, you’re right. I was taking the suggestion of installing the gem as a dependency too far.
ryantm
(Ryan Mulligan)
04.Март.2016 23:07:06
6
5 лайков
neil
(Neil Lalonde)
07.Март.2016 15:55:34
7
Thanks @ryantm ! I merged the changes. Also thanks for improving the tests.
3 лайка