diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-04-18 13:14:57 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-04-18 13:14:57 -0400 |
commit | 622fead3fef2d870a85d570c5416166076b8c8c4 (patch) | |
tree | a44178e5a8cb3c4da547164511f2dd289174e327 /doc/source | |
parent | 3d0ae02cc3d0b947ef6102b31f4b354eec9b543a (diff) |
Print a warning on HTMLParseErrors to let people know they should install an external parser.
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 5aab90e..734851d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -2548,7 +2548,8 @@ Other parser problems parsers`_ for why this matters, and fix the problem by mentioning a specific parser library in the ``BeautifulSoup`` constructor. -* ``HTMLParser.HTMLParseError: malformed start tag`` - Caused by +* ``HTMLParser.HTMLParseError: malformed start tag`` or + ``HTMLParser.HTMLParseError: bad end tag`` - Caused by giving Python's built-in HTML parser a document it can't handle. Any other ``HTMLParseError`` is probably the same problem. Solution: :ref:`Install lxml or html5lib. <parser-installation>` |