mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Patch to bug #461754: CDATA should not undergo entity subst.
This commit is contained in:
parent
1952e388ca
commit
5485404293
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue