KEMBAR78
[3.14] gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658) by miss-islington · Pull Request #133844 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 10, 2025

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 53383e9)

Co-authored-by: Waylan Limberg waylan.limberg@icloud.com

…TMLParser (pythonGH-22658)

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 53383e9)

Co-authored-by: Waylan Limberg <waylan.limberg@icloud.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) May 10, 2025 17:41
@serhiy-storchaka serhiy-storchaka merged commit e7e105f into python:3.14 May 10, 2025
43 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