I’m doing some work on the xenforo importer and have modified it so that it converts the BBcode [quote]
tags into Discourse [quote="username,post:<post_number>, topic:<topic_id>]
tags, but ruby-bbcode-to-md breaks it since it doesn’t know how awesome those [quote]
s are.
My solution has mostly been to just not use @neil’s ruby-bbcode-to-md (https://github.com/nlalonde/ruby-bbcode-to-md) and just piecemeal replace tags in the importer. This seems sucky (but I think it’s good enough)
Should I fork the library and try to get it to ignore those quotes? Should there be a way to get the library to know to ignore those? (Seems like a regex nightmare to me).