]> granicus.if.org Git - python/commit
Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 9 Feb 2010 17:08:05 +0000 (17:08 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 9 Feb 2010 17:08:05 +0000 (17:08 +0000)
commit42fb6ab49128f14cd353ec86a177ddda6763812e
treea2a56b68bc65883013bd8cc14cb40a53a1e9d6c6
parent7b5aa463f99f600803207ea4bc1aa63b4befdd7d
Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")
in XML processing instructions and comments.  These raw characters are
allowed by the XML specification, and are necessary when outputting e.g.
PHP code in a processing instruction.  Patch by Neil Muller.
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Misc/ACKS
Misc/NEWS