]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-149489: Fix ElementTree serialization to HTML (GH-149490) (GH-150596) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 May 2026 11:16:32 +0000 (13:16 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2026 11:16:32 +0000 (11:16 +0000)
commitb46df7fe42459124d242571a979f2cedfb1e0a91
tree7bebb4b3a3a55d366c0654283f907be0d8bb54d7
parent3a15d1602a6e16b83d2de385978ab9fb62e901f6
[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 c42e6d3f1a066186f74d3971df4c512bc11c7997)

(cherry picked from commit bcd29e466f55d8b4e3849ed6ada8ce86a46f5072)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Misc/NEWS.d/next/Library/2026-05-07-14-18-47.gh-issue-149489.bX9iHe.rst [new file with mode: 0644]