diff options
author | Georg Brandl <georg@python.org> | 2005-09-01 06:26:03 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-09-01 06:26:03 (GMT) |
commit | cd0af2bf787edaef2144da8926041264866394c0 (patch) | |
tree | 15c23109ee160e424d4ed35df4a158b9914de58e /Lib/HTMLParser.py | |
parent | 3078cb922481646cf35cc31b5e4a358766092af8 (diff) | |
download | cpython-cd0af2bf787edaef2144da8926041264866394c0.zip cpython-cd0af2bf787edaef2144da8926041264866394c0.tar.gz cpython-cd0af2bf787edaef2144da8926041264866394c0.tar.bz2 |
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: ----------------------------------------------------------------------
Diffstat (limited to 'Lib/HTMLParser.py')
-rw-r--r-- | Lib/HTMLParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 - )? + ) )? ) )* |