summaryrefslogtreecommitdiff
path: root/Lib/HTMLParser.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-31 22:08:45 +0000
committerGeorg Brandl <georg@python.org>2005-08-31 22:08:45 +0000
commit0508eb4322d9425b52fff9ee5fa9913c1176ec14 (patch)
tree0ac18f051cf5d5fa768408c82e92d7191eaa61e2 /Lib/HTMLParser.py
parentf450f387eda0ef7d96ae436caf8798028b6f9cc1 (diff)
downloadcpython-0508eb4322d9425b52fff9ee5fa9913c1176ec14.tar.gz
bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
Diffstat (limited to 'Lib/HTMLParser.py')
-rw-r--r--Lib/HTMLParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py
index 8380466e33..f26d09c49e 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
- )
+ )?
)?
)
)*