]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-13783...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 Oct 2025 16:13:13 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 16:13:13 +0000 (16:13 +0000)
commit89818a5939b3783073e284d90b9e508728e8c186
tree15a95e67f013c85b07d0f979af7e27ec15c45a2f
parentd0c78a458b3b3d908981fe306f77865de35d040a
[3.14] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140841)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]