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
Handling of broken comments in HTMLParser #58168
Comments
html.parser fails to handle the following invalid comments: |
LGTM. What did our last discussion about following HTML5 rules for Python 2.7 lead to? I don’t remember if we agreed that “3.3 is soon enough” or “let’s fix the bugs with HTML5 as reference”. |
After reading some emails again, I’m +1 on porting the fixes to 2.7.
|
I'll fix this for 3.x non-strict and then see if it can be backported to 2.7 (there are still other fixes that should be backported to 2.7 before this can be applied). |
New changeset 242b697449d8 by Ezio Melotti in branch '3.2': New changeset 44366541dd86 by Ezio Melotti in branch 'default': |
This is now fixed in 3.2/3.3, I'll wait for 2.7 before closing it. |
New changeset 333e3acf2008 by Ezio Melotti in branch '2.7': |
I now backported this to 2.7, together with some improvements in the handling of declarations that I committed on 3.2 (4c4ff9fd19b6) and 3.3 (06a6fed0da56). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: