Page MenuHomePhabricator

> and < in allowed HTML tags escaped
Closed, InvalidPublic

Description

Author: pppswing

Description:
It seems that in new installed mediawikis, some > and < are translated in &gt; and &lt;

One example is the clear template with <div style="clear:both;" /> but there is also others with html tables and so on.


Version: 1.10.x
Severity: enhancement
OS: Linux

Details

Reference
bz11164

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:48 PM
bzimport set Reference to bz11164.
bzimport added a subscriber: Unknown Object (MLST).

<div> is a block element; MediaWiki currently requires that you pass them as start *and* end tags, like so:

<div style="clear:both;"></div>