summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2020-05-17 08:29:57 -0400
committerLeonard Richardson <leonardr@segfault.org>2020-05-17 08:29:57 -0400
commit83c8c3a029d29fd833a8137b205f4ca78a4b1c26 (patch)
treee58982e78094c5032ae105d5f3b45ea83ae49193 /CHANGELOG
parent6218e871dd247274823d7a6d5be413544bcc8f19 (diff)
Added a keyword argument on_duplicate_attribute to the
BeautifulSoupHTMLParser constructor (used by the html.parser tree builder) which lets you customize the handling of markup that contains the same attribute more than once, as in: <a href="url1" href="url2"> [bug=1878209]
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 7e9eca8..270a771 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,11 @@
= 4.9.1 (unreleased)
+* Added a keyword argument 'on_duplicate_attribute' to the
+ BeautifulSoupHTMLParser constructor (used by the html.parser tree
+ builder) which lets you customize the handling of markup that
+ contains the same attribute more than once, as in:
+ <a href="url1" href="url2"> [bug=1878209] TODO: This needs documentation.
+
* Added a distinct subclass, GuessedAtParserWarning, for the warning
issued when BeautifulSoup is instantiated without a parser being
specified. [bug=1873787]