]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-149489: Fix ElementTree serialization to HTML (GH-149490) (GH-150596)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 May 2026 10:52:00 +0000 (13:52 +0300)
committerGitHub <noreply@github.com>
Sat, 30 May 2026 10:52:00 +0000 (13:52 +0300)
commitc42e6d3f1a066186f74d3971df4c512bc11c7997
treebe126579687dae9463c3d7677512897657b7aaa4
parent9b27bddc43f91c2bf055e4819318ce3260be5991
[3.14] gh-149489: Fix ElementTree serialization to HTML (GH-149490) (GH-150596)

* 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 bcd29e466f55d8b4e3849ed6ada8ce86a46f5072)
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]