As designed Non-BB code format breaks BB code rendering

Lukas W.

Well-known member
Affected version
2.0.1
If you do some "pseudo"-BB Code like formatting, the BB code parser eventually breaks and is unable to render the BB code correctly. I guess it's related to not closing the quotes correctly.

Minimal example:
[EXTQUOTE="url]TEXT[/EXTQUOTE]
[/QUOTE]
[QUOTE="USER"]TEXT

Plaintext:
[QUOTE]
[EXTQUOTE="url]TEXT[/EXTQUOTE]
[/QUOTE]
[QUOTE="USER"]TEXT[/QUOTE]
 
I think that given the invalid quotes in the EXTQUOTE tag, the parser is doing its best to salvage something here, and TBH I'm not sure how else this could be handled.
 
Top Bottom