Escape '<' in attribute values for well-formed XML
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 1 Oct 2009 01:30:58 +0000 (01:30 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 1 Oct 2009 01:30:58 +0000 (01:30 +0000)
commit0120d492b09b0ca116455341685fa55a34a51649
tree5d181e8d5335a6f911bef99197d5918906cb2e0d
parent25e1a7ac637a5a3d331ff6ad0185158bb77594b9
Escape '<' in attribute values for well-formed XML

This fixes r56407, which fixed bug 20655.  Now $wgWellFormedXml is used,
not $wgHtml5.  The previous code was outputting malformed XML if
$wgHtml5 and $wgWellFormedXml were both true.

I wish we had unit tests for this.  :(
includes/Html.php