html5lib can set a multivalued attribute twice, and the tree builder can't handle that
Bug #1019603 reported by
Leonard Richardson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As seen here:
https:/
When rearranging the parse tree, html5lib calls setAttributes multiple times. The first call split the value of the 'class' attribute into a list, and the second call passes in that list. The tree builder needs to be able to handle an incoming attribute value that's already a list.
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in revision 239.