Fixed Odd parsing behavior between Markdown and BB code

Jeremy P

XenForo developer
Staff member
Affected version
2.1.0 Beta 2
If you place BB code tags within back-ticks (the Markdown [ICODE] equivalent), the final output is a little bizarre. It looks as though the parser tries to add a closing tag, despite the opening tag technically being escaped via Markdown.

This behavior doesn't occur when using ICODE tags directly.

Test case: Prior text `[B]` after text
Output: Prior text [B] after text[/B]
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.1.0 Beta 3).

Change log:
Parse for Markdown befreo building a BB code syntax tree to prevent unexpected BB code tag adjustments.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom