Now broken with html5lib
See original GitHub issueFrom https://pypi.python.org/pypi/html5lib/0.99999999:
Move a whole load of stuff (inputstream, ihatexml, trie, tokenizer, utils) to be underscore prefixed to clarify their status as private
Except https://github.com/xhtml2pdf/xhtml2pdf/blob/master/xhtml2pdf/parser.py#L17:
from html5lib import treebuilders, inputstream
Current fix:
-
Use `pip install html5lib==1.0b8`
Issue Analytics
- State:
- Created 7 years ago
- Reactions:98
- Comments:18 (8 by maintainers)
Top Results From Across the Web
html5lib installed but BeautifulSoup cannot find it
I have installed the html5lib package. I'm sure because when i try to install it, i get a message that it is already...
Read more >html5lib - PyPI
html5lib is a pure-python library for parsing HTML. ... Breaking changes: ... Drop support of charade, now that chardet is supported once more....
Read more >Change Log — html5lib 1.2-dev documentation
Breaking changes: ... Deprecate the html5lib sanitizer ( html5lib.serialize(sanitize=True) and ... Now requires the mock package for the testsuite.
Read more >html5lib and lxml parsers in Python - Tutorialspoint
Buy Now. html5lib is a pure-python library for parsing HTML. ... It can also tackle broken HTML tags and add some necessary tags...
Read more >html5lib and lxml parsers in Python - GeeksforGeeks
Since it uses HTML5 parsing algorithm, it even fixes lots of broken HTML and adds several tags which are missing in order to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@benjaoming This post helped me. Sorry, i was just trying to say thank you. Don’t get me wrong.
+1 == + 1 like. That was my thought. haha
Thank you.
Guess what! We have html5lib==1.b10 support! And Python 3 too - #332