diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-19 09:08:19 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-19 09:08:19 (GMT) |
commit | 548540429356ade1cbd8e4095d07151832b66ef0 (patch) | |
tree | 590d3699dbd2e7b8fc6c3f98a7f4a356c215bffb /Lib/xml/dom | |
parent | 1952e388ca63b8eaa090bef966dd538f78ece208 (diff) | |
download | cpython-548540429356ade1cbd8e4095d07151832b66ef0.zip cpython-548540429356ade1cbd8e4095d07151832b66ef0.tar.gz cpython-548540429356ade1cbd8e4095d07151832b66ef0.tar.bz2 |
Patch to bug #461754: CDATA should not undergo entity subst.
Diffstat (limited to 'Lib/xml/dom')
-rw-r--r-- | Lib/xml/dom/minidom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index d440045..5cd28de 100644 --- a/Lib/xml/dom/minidom.py +++ b/Lib/xml/dom/minidom.py @@ -709,7 +709,7 @@ class CDATASection(Text): nodeName = "#cdata-section" def writexml(self, writer, indent="", addindent="", newl=""): - _write_data(writer, "<![CDATA[%s]]>" % self.data) + writer.write("<![CDATA[%s]]>" % self.data) def _nssplit(qualifiedName): |