html5lib / html5lib-python

Standards-compliant library for parsing and serializing HTML documents and fragments in Python
MIT License
1.13k stars 284 forks source link

Restore ability to provide a tree builder name as string #559

Closed theRealProHacker closed 1 year ago

theRealProHacker commented 1 year ago

We can simply propagate the ValueError raised in treebuilders.getTreeBuilder

fixes #558 fixes #513

jvanasco commented 1 year ago

Thanks!