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 | 75c81928902b3f2896cbd3482a59828965627916 (patch) | |
tree | d20036348c7aecb0309e6b362f211d65b340db03 /NEWS.txt | |
parent | a98b0e4b7cd1d0c61eebc50efabc6bc7876b50a0 (diff) |
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 |