Jump to content


Photo

Error in status when parsing bad word


If you set in bad word filter "After" option to some formating text ie. "[---]"

when user use word from that filter, parsing is wrong.

You see in status (or comment to status):

And now goes bad word: [---]


Status: Not a Bug
Version: 3.3.2
Fixed In:


4 Comments

Everything seems fine to me in your post, am I missing something?

If you could post an example of before/after that would probably help.
Sorry should be:

If you set in bad word filter "After" option to some formating text ie.

[color="#C0C0C0"][size="1"][---][/size][/color]



when user use in status word from that filter, parsing is wrong.

You see in status (or comment to status):

And now goes bad word: __CODEBOX_0__


[attachment=39658:status.png]
Hmm
__CODEBOX_0__

is added by IPB, :)
IP.Board's parser does the bbcode parsing in the post prior to swapping bad words, so you can't use bbcode in bad word replacements. That's why this hook exists:

Last Updated --