https://bugzilla.wikimedia.org/show_bug.cgi?id=65747

Jackmcbarn <jackmcbarn+w...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unbalanced tags in          |Sanitizer::removeHTMLtags
                   |DISPLAYTITLE (e.g. two <b>  |doesn't close tags
                   |and only one </b>) affect   |correctly when $wgUseTidy
                   |MediaWiki's interface       |is enabled

--- Comment #3 from Jackmcbarn <jackmcbarn+w...@gmail.com> ---
I've tracked this problem down to Sanitizer::removeHTMLtags and $wgUseTidy.
When $wgUseTidy is disabled (as it is on default MediaWiki installations),
calling Sanitizer::removeHTMLtags on "<b>test<b>" correctly yields
"<b>test&lt;b&gt;</b>". However, when it is enabled, calling it on "<b>test<b>"
yields "<b>test<b>" back unchanged, which is incorrect and the cause of this
bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to