Page MenuHomePhabricator

XML pretty-printer triple-escapes < and > inside tags
Closed, InvalidPublic

Description

The URL above should look like

<message name="thismessagedoesntexist">&lt;thismessagedoesntexist&gt;</message>

rather than

<message name="thismessagedoesntexist">&amp;lt;thismessagedoesntexist&amp;gt;</message>

(in the HTML source, this is &amp;amp;lt; which should be &amp;lt;)


Version: 1.13.x
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php?action=query&meta=allmessages&ammessages=thismessagedoesntexist

Details

Reference
bz13392

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:03 PM
bzimport set Reference to bz13392.

Oh wait, wfMsg('foo') actually returns "&lt;foo&gt;" ... so this is not a bug