An HTML document in the wild had the tag: and HTMLParser was choking on the "," after the "175". By adding "," to the list of allowed characters in attribute values, HTMLParser accepts the document.
Logged In: YES user_id=3066 The regression test does not appear to have been attached; I see four copies of essentially the same patch. That's OK though; I have enough to go on. I've incorporated the patch in both Lib/HTMLParser.py 1.12 and Lib/sgmllib.py 1.42 (so it also fixes htmllib). Regression tests have been added to Lib/test/test_htmlparser.py 1.10 and Lib/test/test_sgmllib.py 1.5.