HTMLParser is allowed to be more strict than sgmllib, so let's not
change their basic behavior: When parsing something that cannot possibly be valid in either HTML or XHTML, raise an exception.
F
Fred Drake committed
7cf613dc77302fb9a2a6533878aba7296276e12c
Parent: a0ca3d6