Skip to content

Commit 73e1b24

Browse files
Merge branch 'xml-etree-validate' of github.com:serhiy-storchaka/cpython into xml-etree-validate
2 parents 52e2425 + 034bc48 commit 73e1b24

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/xml/etree/ElementTree.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,6 @@ def _serialize_xml(write, elem, qnames, namespaces, *,
938938
if elem.tail:
939939
write(_escape_cdata(elem.tail, validate))
940940

941-
_CDATA_CONTENT_ELEMENTS = {"script", "style", "xmp", "iframe", "noembed", "noframes"}
942-
943941
_CDATA_CONTENT_ELEMENTS = {"script", "style", "xmp", "iframe", "noembed",
944942
"noframes", "plaintext"}
945943

0 commit comments

Comments
 (0)