Skip to content

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

Merged
serhiy-storchaka merged 2 commits into
python:3.14from
serhiy-storchaka:backport-2f91315-3.14
May 30, 2026
Merged

[3.14] gh-149489: Fix ElementTree serialization to HTML (GH-149490)#150596
serhiy-storchaka merged 2 commits into
python:3.14from
serhiy-storchaka:backport-2f91315-3.14

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

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

  • 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)

…GH-149490)

* 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>
@serhiy-storchaka
Copy link
Copy Markdown
Member Author

Only part of features were backported to already released versions.

@serhiy-storchaka serhiy-storchaka merged commit c42e6d3 into python:3.14 May 30, 2026
50 of 51 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-2f91315-3.14 branch May 30, 2026 10:52
@miss-islington-app
Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 30, 2026

GH-150609 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 30, 2026
serhiy-storchaka added a commit that referenced this pull request May 30, 2026
…H-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>
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