summaryrefslogtreecommitdiffstats
path: root/Lib/HTMLParser.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-31 22:08:45 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-31 22:08:45 (GMT)
commit7847405a76869ff439e9a77a86087b83ede8c192 (patch)
tree5d59cb8d93082d2e05fc6b75a34b201c6998dbfc /Lib/HTMLParser.py
parentc28dd1faa561d6e74de59185d641e8ca27e2c28e (diff)
downloadcpython-7847405a76869ff439e9a77a86087b83ede8c192.zip
cpython-7847405a76869ff439e9a77a86087b83ede8c192.tar.gz
cpython-7847405a76869ff439e9a77a86087b83ede8c192.tar.bz2
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 8380466..f26d09c 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
- )
+ )?
)?
)
)*