From cd3c26a7171af2795df477598d045e46adf5d73b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 1 Sep 2005 06:25:34 +0000 Subject: Reverting previous checkin. This breaks too much of HTMLParser to be applied without thought. Anyway, such malformed HTML is better handled by something like BeautifulSoup. --- Lib/HTMLParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index f26d09c49e..8380466e33 100644 --- a/Lib/HTMLParser.py +++ b/Lib/HTMLParser.py @@ -36,7 +36,7 @@ locatestarttagend = re.compile(r""" (?:'[^']*' # LITA-enclosed value |\"[^\"]*\" # LIT-enclosed value |[^'\">\s]+ # bare value - )? + ) )? ) )* -- cgit v1.2.1