forked from pool/python-beautifulsoup4
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.
* ' (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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348
|
||||
size 167065
|
||||
3
beautifulsoup4-4.8.0.tar.gz
Normal file
3
beautifulsoup4-4.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25288c9e176f354bf277c0a10aa96c782a6a18a17122dba2e8cec4a97e03343b
|
||||
size 170919
|
||||
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 16:18:23 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 11:23:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-beautifulsoup4
|
||||
Version: 4.7.1
|
||||
Version: 4.8.0
|
||||
Release: 0
|
||||
Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping
|
||||
License: MIT
|
||||
|
||||
Reference in New Issue
Block a user