]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:08:42 +0000 (17:08 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 16:08:42 +0000 (16:08 +0000)
commit0329bd11c7e98484727bbb9062d53a8fa53ac7fd
tree8ed74c9b4333667aa69b643e009c0b6513afe7be
parenteec9257aa57a195bc7b704cd502ecb6bc439f9e1
[3.13] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842)

* 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]