]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149489: Fix ElementTree serialization to HTML (GH-149490)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 29 May 2026 21:04:50 +0000 (00:04 +0300)
committerGitHub <noreply@github.com>
Fri, 29 May 2026 21:04:50 +0000 (00:04 +0300)
commitbcd29e466f55d8b4e3849ed6ada8ce86a46f5072
tree9c005af3bc7f6b0fbb8a56985a89e3d5b020aad1
parentf87d9605d3f9489d33aaf97a97fa9cb81cd7cc40
gh-149489: Fix ElementTree serialization to HTML (GH-149490)

* The content of comments, processing instructions and elements "xmp",
  "iframe", "noembed", "noframes", and "plaintext" is no longer escaped.
* The "plaintext" element no longer have the closing tag.
* Add support of empty attributes (with value None).
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]