diff options
author | Georg Brandl <georg@python.org> | 2005-09-01 06:25:34 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-09-01 06:25:34 (GMT) |
commit | cd3c26a7171af2795df477598d045e46adf5d73b (patch) | |
tree | 6f86a1d7c26b1ecc685409b9501ba9808238cf0d | |
parent | 4ce69a5b06d230d513139ad0797bcc1b471f910c (diff) | |
download | cpython-cd3c26a7171af2795df477598d045e46adf5d73b.zip cpython-cd3c26a7171af2795df477598d045e46adf5d73b.tar.gz cpython-cd3c26a7171af2795df477598d045e46adf5d73b.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.
-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 - )? + ) )? ) )* |