]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 31 Oct 2025 15:44:02 +0000 (17:44 +0200)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 15:44:02 +0000 (17:44 +0200)
commita17c57eee5b5cc81390750d07e4800b19c0c3084
tree14430ad6627483699f07b6a2d046659397a3f825
parent07912f86323dc5a13f4d070b7e3f2c3cb2850d8b
gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837)

* the "plaintext" element
* the RAWTEXT elements "xmp", "iframe", "noembed" and "noframes"
* optionally RAWTEXT (if scripting=True) element "noscript"
Doc/library/html.parser.rst
Lib/html/parser.py
Lib/test/test_htmlparser.py
Misc/NEWS.d/next/Security/2025-08-15-23-08-44.gh-issue-137836.b55rhh.rst [new file with mode: 0644]