diff options
author | Leonard Richardson <leonardr@segfault.org> | 2018-07-15 20:04:03 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2018-07-15 20:04:03 -0400 |
commit | cb8353294f2c0c0cd3bedacf36ecdf7bc710c979 (patch) | |
tree | 60841ca8249a2365b89ad118c46c5598ff8bd575 /NEWS.txt | |
parent | a11331aac9d136995d1fc60e087714799ad78637 (diff) | |
download | beautifulsoup4-cb8353294f2c0c0cd3bedacf36ecdf7bc710c979.tar.gz |
You can pass a dictionary of into
BeautifulSoup.new_tag. This makes it possible to create a tag with
an attribute like 'name' that would otherwise be masked by another
argument of new_tag. [bug=1779276]
Diffstat (limited to 'NEWS.txt')
-rw-r--r-- | NEWS.txt | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ bs4.element.Formatter and passing a Formatter instance into (e.g.) encode(). [bug=1716272] +* You can pass a dictionary of `attrs` into + BeautifulSoup.new_tag. This makes it possible to create a tag with + an attribute like 'name' that would otherwise be masked by another + argument of new_tag. [bug=1779276] + = 4.6.0 (20170507) = * Added the `Tag.get_attribute_list` method, which acts like `Tag.get` for |