]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Reverting previous checkin. This breaks too much of HTMLParser to be applied
authorGeorg Brandl <georg@python.org>
Thu, 1 Sep 2005 06:26:03 +0000 (06:26 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 1 Sep 2005 06:26:03 +0000 (06:26 +0000)
without thought. Anyway, such malformed HTML is better handled by something
like BeautifulSoup.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Lib/HTMLParser.py
CVS: ----------------------------------------------------------------------

Lib/HTMLParser.py

index f26d09c49e9e08704ff0f5fd4d804a9cad3daeb9..8380466e337500cc5714abd588170da81d4f23f4 100644 (file)
@@ -36,7 +36,7 @@ locatestarttagend = re.compile(r"""
         (?:'[^']*'                   # LITA-enclosed value
           |\"[^\"]*\"                # LIT-enclosed value
           |[^'\">\s]+                # bare value
-         )?
+         )
        )?
      )
    )*