[Python-checkins] CVS: python/dist/src/Lib/xml/dom minidom.py,1.34,1.35
Martin v. L?wis
loewis@users.sourceforge.net
Wed, 19 Sep 2001 02:08:21 -0700
Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory usw-pr-cvs1:/tmp/cvs-serv2156
Modified Files:
minidom.py
Log Message:
Patch to bug #461754: CDATA should not undergo entity subst.
Index: minidom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/minidom.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** minidom.py 2001/07/04 06:25:53 1.34
--- minidom.py 2001/09/19 09:08:19 1.35
***************
*** 710,714 ****
def writexml(self, writer, indent="", addindent="", newl=""):
! _write_data(writer, "<![CDATA[%s]]>" % self.data)
--- 710,714 ----
def writexml(self, writer, indent="", addindent="", newl=""):
! writer.write("<![CDATA[%s]]>" % self.data)