Skip to content

[3.11] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842)#140852

Merged
ambv merged 2 commits intopython:3.11from
serhiy-storchaka:backport-0329bd1-3.11
Oct 31, 2025
Merged

[3.11] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842)#140852
ambv merged 2 commits intopython:3.11from
serhiy-storchaka:backport-0329bd1-3.11

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 31, 2025

  • the "plaintext" element
  • the RAWTEXT elements "xmp", "iframe", "noembed" and "noframes"
  • optionally RAWTEXT (if scripting=True) element "noscript"

(cherry picked from commit a17c57e)
(cherry picked from commit 0329bd1)


📚 Documentation preview 📚: https://cpython-previews--140852.org.readthedocs.build/

…n HTMLParser (pythonGH-137837) (pythonGH-140842)

* the "plaintext" element
* the RAWTEXT elements "xmp", "iframe", "noembed" and "noframes"
* optionally RAWTEXT (if scripting=True) element "noscript"
(cherry picked from commit a17c57e)
(cherry picked from commit 0329bd1)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@ambv ambv merged commit a18b381 into python:3.11 Oct 31, 2025
22 checks passed
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.

3 participants