From: Georg Brandl Date: Thu, 1 Sep 2005 06:26:03 +0000 (+0000) Subject: Reverting previous checkin. This breaks too much of HTMLParser to be applied X-Git-Tag: v2.4.2c1~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd0af2bf787edaef2144da8926041264866394c0;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. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Lib/HTMLParser.py CVS: ---------------------------------------------------------------------- --- 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 - )? + ) )? ) )*