If you put the BBCode filter after the HTML Correcter, and a user enters [/quote], the end tag still gets filtered into a closing div tag. This is bad, as it effs the ess out of most modern layouts.

The test file doesn't check for this case, so that's probably why it's missed.

CommentFileSizeAuthor
#2 bbcode-filter.inc_.patch362 bytesjacobangel

Comments

jacobangel’s picture

To clarify if someone were to post:

[/quote]
I don't know this good.
[/quote]

becomes

</blockquote></div>

I don't know this good.

</blockquote></div>

or whatever exactly end tags get filtered to be.

jacobangel’s picture

StatusFileSize
new362 bytes

I wrote up a quick patch.

Sorry if I screwed up doing it; it's my first patch.

naudefj’s picture

Status: Active » Patch (to be ported)