15
0
Go to file
Todd R 63d22fa87e Accepting request 717647 from home:TheBlackCat:branches:devel:languages:python
- 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.
  * &apos; (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
2019-07-22 16:24:21 +00:00
Description
No description provided
750 KiB
Languages
RPM Spec 100%