]> granicus.if.org Git - python/commit
HTMLParser is allowed to be more strict than sgmllib, so let's not
authorFred Drake <fdrake@acm.org>
Tue, 4 Sep 2001 16:26:03 +0000 (16:26 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 4 Sep 2001 16:26:03 +0000 (16:26 +0000)
commit7cf613dc77302fb9a2a6533878aba7296276e12c
tree4b0a537f66e0e65a3750bac2156545895b924050
parenta0ca3d611e0abc503da85d999069803fe8bed7a1
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.
Lib/HTMLParser.py
Lib/test/test_htmlparser.py