Merge lp:~geoffers/beautifulsoup/html5lib-tests into lp:beautifulsoup
Proposed by
Geoffrey Sneddon
Status: | Merged |
---|---|
Merged at revision: | 436 |
Proposed branch: | lp:~geoffers/beautifulsoup/html5lib-tests |
Merge into: | lp:beautifulsoup |
Diff against target: |
153 lines (+74/-8) 2 files modified
bs4/builder/_html5lib.py (+69/-8) bs4/tests/test_html5lib.py (+5/-0) |
To merge this branch: | bzr merge lp:~geoffers/beautifulsoup/html5lib-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson | Approve | ||
Review via email: mp+279911@code.launchpad.net |
Description of the change
This makes TreeBuilderForH
The second commit then fixes those 216 tests by fixing foster parenting: appendChild wasn't setting the Element.parent, leading the walking up the tree to find the last table to fail. That then working, it became apparent that insertText with insertBefore=True fails, so that too was fixed.
To post a comment you must log in.
Is there a reason why this nice patch was not integrated yet?
We have the Element.parent in beautifulsoup.