Skip to content

[3.15] gh-149489: Fix ElementTree serialization to HTML (GH-149490)#150595

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-bcd29e4-3.15
May 29, 2026
Merged

[3.15] gh-149489: Fix ElementTree serialization to HTML (GH-149490)#150595
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-bcd29e4-3.15

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented May 29, 2026

  • 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). (cherry picked from commit bcd29e4)

…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).
(cherry picked from commit bcd29e4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) May 29, 2026 21:20
@serhiy-storchaka serhiy-storchaka merged commit 2f91315 into python:3.15 May 29, 2026
59 checks passed
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 29, 2026
…GH-149490) (pythonGH-150595)

* 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 bcd29e4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant