XF 1.5 BBCode is parsed even if closing tag isn't found

ungovernable

Active member
I created a Bbm BB Code with my own PHP parser. The problem is that the BBCode is triggered even when the closing tag is not found, like in this example:
Code:
[mybbcode]some text
Is this possible to parse the BBCode only when the closing tag is found, like this?
Code:
[mybbcode]some text[/mybbcode]
 

Lukas W.

Well-known member
That's not possible. The parser will just assume the person forgot to close the tag and auto-close it at the latest convenience, unfortunately.
 
Top