html2text
html2text copied to clipboard
Handle HTML with invalid "start" attribute for ol elements
This simply catches the value error for the int cast, and returns the default value. Added a simple testcase also.
As https://github.com/mcepl/html2text/tree/pr/70 in my repo, and merged to my next branch (all tests pass).