forked from pool/python-beautifulsoup4
63d22fa87ebe3a4b9c1ca417bcf2a24411db0acf7f86ca2c9705fe80d5465d7e
- Update to 4.8.0
* It's now possible to customize the TreeBuilder object by passing
keyword arguments into the BeautifulSoup constructor. The main
reason to do this right now is to change how which attributes are
treated as multi-valued attributes (the way 'class' is treated by
default). You can do this with the `multi_valued_attributes` argument.
* The role of Formatter objects has been greatly expanded. The Formatter
class now controls the following:
> The function to call to perform entity substitution. (This was
previously Formatter's only job.)
> Which tags should be treated as containing CDATA and have their
contents exempt from entity substitution.
> The order in which a tag's attributes are output.
> Whether or not to put a '/' inside a void element, e.g. '<br/>' vs '<br>'
All preexisting code should work as before.
* Added a new method to the API, Tag.smooth(), which consolidates
multiple adjacent NavigableString elements.
* ' (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is now
recognized as a named entity and converted to a single quote.
OBS-URL: https://build.opensuse.org/request/show/717647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=68
Description
No description provided
Languages
RPM Spec
100%