-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-77057: Fix handling of invalid markup declarations in HTMLParser #9295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-77057: Fix handling of invalid markup declarations in HTMLParser #9295
Conversation
cbd359f
to
74cf400
Compare
This PR is stale because it has been open for 30 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I propose to add addition tests for some cases which were incorrectly handled in parse_marked_section().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
Thanks @ezio-melotti for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Thanks @ezio-melotti for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…rser (pythonGH-9295) (cherry picked from commit 76c0b01) Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…rser (pythonGH-9295) (cherry picked from commit 76c0b01) Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
GH-133833 is a backport of this pull request to the 3.14 branch. |
GH-133834 is a backport of this pull request to the 3.13 branch. |
…arser (GH-9295) (GH-133834) (cherry picked from commit 76c0b01) Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…arser (GH-9295) (GH-133833) (cherry picked from commit 76c0b01) Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
This work-in-progress commit addresses one of the issues reported in bpo-32876.
https://bugs.python.org/issue32876