diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-03-30 14:09:57 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-03-30 14:09:57 -0400 |
commit | 69e1c83c0c4e4110fcf340d003ae9ef6671502c5 (patch) | |
tree | 9d6915a94ea8ccdef9f6a9f6e44d252cded92149 /doc | |
parent | f7916d33676e6a832630904d0234c68a90a35271 (diff) | |
download | beautifulsoup4-69e1c83c0c4e4110fcf340d003ae9ef6671502c5.tar.gz |
Corrected typo.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/index.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index fc69ba8..0b85924 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -2493,14 +2493,14 @@ has changed to ``bs4``. Soup 4 code on a system that doesn't have BS4 installed. ``HTMLParser.HTMLParseError: malformed start tag`` - Caused by giving -Python's built-in HTML parser a document it can't -handle. :ref:`Install lxml or html5lib. <parser-installation>` Any other -``HTMLParseError`` is probably the same problem. +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>` If you can't find a tag that you know is in the document (that is, ``find_all()`` returned ``[]`` or ``find()`` returned ``None``), you're probably using Python's built-in HTML parser, which sometimes skips -tags it doesn't understand. :ref:`Install lxml or +tags it doesn't understand. Solution: :ref:`Install lxml or html5lib. <parser-installation>` ``KeyError: [attr]`` - Caused by accessing ``tag['attr']`` when the |