veger / ruby-bbcode

Convert BBCode to HTML and check whether the BBCode is valid
http://rubygems.org/gems/ruby-bbcode
MIT License
28 stars 29 forks source link

Ignore unknown/wrong tags #33

Closed almaron closed 5 years ago

almaron commented 5 years ago

Right now when the parser encounters some text in [] that is not a known tag, it gives an error. There should be at least an option to ignore those tags and either just leave them as is or remove them completely.

veger commented 5 years ago

Thank you for your report and feeback :smile: