commit | cd3c26a7171af2795df477598d045e46adf5d73b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Sep 01 06:25:34 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Sep 01 06:25:34 2005 +0000 |
tree | 6f86a1d7c26b1ecc685409b9501ba9808238cf0d | |
parent | 4ce69a5b06d230d513139ad0797bcc1b471f910c [diff] |
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.
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 @@ (?:'[^']*' # LITA-enclosed value |\"[^\"]*\" # LIT-enclosed value |[^'\">\s]+ # bare value - )? + ) )? ) )*