ryantm
(Ryan Mulligan)
2016 年 3 月 2 日午前 1:35
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)
2016 年 3 月 2 日午後 5:31
3
Yes, because Importing from phpBB3 recommends using it.
「いいね!」 1
gerhard
(Gerhard Schlager)
2016 年 3 月 2 日午後 10:53
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)
2016 年 3 月 2 日午後 11:20
5
Sorry, you’re right. I was taking the suggestion of installing the gem as a dependency too far.
ryantm
(Ryan Mulligan)
2016 年 3 月 4 日午後 11:07
6
「いいね!」 5
neil
(Neil Lalonde)
2016 年 3 月 7 日午後 3:55
7
Thanks @ryantm ! I merged the changes. Also thanks for improving the tests.
「いいね!」 3