[issue13960] Handling of broken comments in HTMLParser

Ezio Melotti report at bugs.python.org
Fri Feb 10 09:52:03 CET 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

This is now fixed in 3.2/3.3, I'll wait for 2.7 before closing it.
On a side note, the empty <!> comment doesn't seem to be valid in HTML5.
HTMLParser just ignores it, and doesn't report it as an empty comment (so this should be fine).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13960>
_______________________________________


More information about the Python-bugs-list mailing list