[issue12008] HtmlParser non-strict goes wrong with unquoted attributes

Piet van Oostrum report at bugs.python.org
Sat Sep 3 21:23:14 CEST 2011


Piet van Oostrum <piet at cs.uu.nl> added the comment:

I was bitten by this bug today. Hope it will be solved in the next release of Python 3.

It is also possible to use the third argument of search in line 285:

                m = attrfind_tolerant.search(rawdata, k, endpos)

This seems to me to be a more `natural' solution.

----------
nosy: +pietvo

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


More information about the Python-bugs-list mailing list