Skip to content

Commit b46df7f

Browse files
[3.13] gh-149489: Fix ElementTree serialization to HTML (GH-149490) (GH-150596) (GH-150609)
* The content of elements "xmp", "iframe", "noembed", "noframes", and "plaintext" is no longer escaped. * The "plaintext" element no longer have the closing tag. (cherry picked from commit c42e6d3) (cherry picked from commit bcd29e4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 3a15d16 commit b46df7f

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

Lib/test/test_xml_etree.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change

Lib/xml/etree/ElementTree.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change

Misc/NEWS.d/next/Library/2026-05-07-14-18-47.gh-issue-149489.bX9iHe.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change

0 commit comments

Comments
 (0)