From: Georg Brandl Date: Wed, 31 Aug 2005 22:09:02 +0000 (+0000) Subject: backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output X-Git-Tag: v2.4.2c1~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b4a932a971d0d2c3969b9d53ad574dfd39d2a44;p=thirdparty%2FPython%2Fcpython.git backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output --- diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index 8380466e3375..f26d09c49e9e 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 - ) + )? )? ) )*