summaryrefslogtreecommitdiff
path: root/bs4/builder/_html5lib.py
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 /bs4/builder/_html5lib.py
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 'bs4/builder/_html5lib.py')
0 files changed, 0 insertions, 0 deletions