From: Martin v. Löwis Date: Wed, 19 Sep 2001 09:08:19 +0000 (+0000) Subject: Patch to bug #461754: CDATA should not undergo entity subst. X-Git-Tag: v2.2.1c1~1737 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=548540429356ade1cbd8e4095d07151832b66ef0;p=python Patch to bug #461754: CDATA should not undergo entity subst. --- diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index d440045b89..5cd28de781 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, "" % self.data) + writer.write("" % self.data) def _nssplit(qualifiedName):