From 548540429356ade1cbd8e4095d07151832b66ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= <martin@v.loewis.de> Date: Wed, 19 Sep 2001 09:08:19 +0000 Subject: Patch to bug #461754: CDATA should not undergo entity subst. --- Lib/xml/dom/minidom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v0.12