Page MenuHomePhabricator

Run tidy on DISPLAYTITLE content
Closed, DeclinedPublic

Description

Or some broken HTML in it (eg {{DISPLAYTITLE:12<b>34}}, an unclosed tag) corrupts the whole page.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz24910

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:04 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz24910.
bzimport added a subscriber: Unknown Object (MLST).

Works when $wgUseTidy is false (because Sanitizer::removeHTMLtags does it)

But than the dispalytitle gets also a newline after each added closing tag, which is not correct.

Izno subscribed.

I'm going to decline this per Remex/Linter efforts.