SIGN IN SIGN UP

[3.13] gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658) (GH-133845)

When calling .close() the HTMLParser should flush all remaining content,
even when that content is in an unclosed script or style tag.
(cherry picked from commit 53383e90e4df7029f792b7aa81aa2e4cff348ed0)

Co-authored-by: Waylan Limberg <waylan.limberg@icloud.com>
M
Miss Islington (bot) committed
e76ff560b015a585e185d9a21d3c18540c6b5fcd
Parent: 18501a1
Committed by GitHub <noreply@github.com> on 5/10/2025, 5:58:29 PM