summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-09-19 09:08:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-09-19 09:08:19 (GMT)
commit548540429356ade1cbd8e4095d07151832b66ef0 (patch)
tree590d3699dbd2e7b8fc6c3f98a7f4a356c215bffb /Lib
parent1952e388ca63b8eaa090bef966dd538f78ece208 (diff)
downloadcpython-548540429356ade1cbd8e4095d07151832b66ef0.zip
cpython-548540429356ade1cbd8e4095d07151832b66ef0.tar.gz
cpython-548540429356ade1cbd8e4095d07151832b66ef0.tar.bz2
Patch to bug #461754: CDATA should not undergo entity subst.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xml/dom/minidom.py2
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):