[issue6662] HTMLParser.HTMLParser doesn't handle malformed charrefs

2010-04-28 Thread Fredrik Håård
Fredrik Håård added the comment: Confirmed on trunk. Attached a (what I think is) minimal patch to fix, together with a tweak of existing unit test case to verify it. -- keywords: +patch versions: +Python 2.7 Added file: http://bugs.python.org/file17117/Issue6662.patch

[issue6662] HTMLParser.HTMLParser doesn't handle malformed charrefs

2010-04-27 Thread Fredrik Håård
Fredrik Håård added the comment: Is there a reason for HTMLParser to treat anything that does not match the regex '&#\d+;' as a charref? -- ___ Python tracker <http://bugs.pyt

[issue6662] HTMLParser.HTMLParser doesn't handle malformed charrefs

2010-04-27 Thread Fredrik Håård
Changes by Fredrik Håård : -- nosy: +fredrik.haard ___ Python tracker <http://bugs.python.org/issue6662> ___ ___ Python-bugs-list mailing list Unsubscribe: