[issue12629] HTMLParser silently stops parsing with malformed attributes

Ezio Melotti report at bugs.python.org
Mon Nov 14 18:12:08 CET 2011


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

Fixed, thanks for the report!
Apparently the correct way to parse <y z=""o"" /> is:
starttag y
attribute z with value ""
attribute o"" with no value
So this is what HTMLParser does now.

----------
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
versions: +Python 2.7

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


More information about the Python-bugs-list mailing list