From: Georg Brandl Date: Thu, 1 Sep 2005 06:25:34 +0000 (+0000) Subject: Reverting previous checkin. This breaks too much of HTMLParser to be applied X-Git-Tag: v2.5a0~1411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd3c26a7171af2795df477598d045e46adf5d73b;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index f26d09c49e9e..8380466e3375 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 - )? + ) )? ) )*