From cd0af2bf787edaef2144da8926041264866394c0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 1 Sep 2005 06:26:03 +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. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Lib/HTMLParser.py CVS: ---------------------------------------------------------------------- --- Lib/HTMLParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index f26d09c..8380466 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 v0.12