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.
This commit is contained in:
parent
4ce69a5b06
commit
cd3c26a717
|
@ -36,7 +36,7 @@ locatestarttagend = re.compile(r"""
|
|||
(?:'[^']*' # LITA-enclosed value
|
||||
|\"[^\"]*\" # LIT-enclosed value
|
||||
|[^'\">\s]+ # bare value
|
||||
)?
|
||||
)
|
||||
)?
|
||||
)
|
||||
)*
|
||||
|
|
Loading…
Reference in New Issue