Static Public Attributes | |
dictionary | NESTABLE_TAGS = {} |
tuple | RESET_NESTING_TAGS = buildTagMap('noscript') |
The MinimalSoup class is for parsing HTML that contains pathologically bad markup. It makes no assumptions about tag nesting, but it does know which tags are self-closing, that <script> tags contain Javascript and should not be parsed, that META tags may contain encoding information, and so on. This also makes it better for subclassing than BeautifulStoneSoup or BeautifulSoup.
Definition at line 1417 of file BeautifulSoup.py.
dictionary BeautifulSoup.MinimalSoup::NESTABLE_TAGS = {} [static] |
Reimplemented from BeautifulSoup.BeautifulSoup.
Definition at line 1428 of file BeautifulSoup.py.
tuple BeautifulSoup.MinimalSoup::RESET_NESTING_TAGS = buildTagMap('noscript') [static] |
Reimplemented from BeautifulSoup.BeautifulSoup.
Definition at line 1427 of file BeautifulSoup.py.