MyBB Community Forums

Full Version: Custom MyCode completely messed up?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having a really odd bug, I have this custom BBCode for marking misspellings with red and bold, and I've added a list of badwords to mark as red.

The problem? As soon as there is an extra word, it completely messes up, tries to parse the bbcode twice or something.

Here's the custom MyCode:
[Image: SS-040320111504570374.png]

Here's the badwords (from > to):
[Image: SS-040320111505520375.png]

Proper result:
[Image: SS-040320111520160379.png]

The problem, add another "im", and all breaks:
[Image: SS-040320111516540377.png]

The messed up HTML (the possible cause of this):
[Image: SS-040320111517500378.png]

It seems to have only started happening recently, too.
Any idea what might be wrong?