html2text icon indicating copy to clipboard operation
html2text copied to clipboard

Handle HTML with invalid "start" attribute for ol elements

Open holm opened this issue 12 years ago • 1 comments

This simply catches the value error for the int cast, and returns the default value. Added a simple testcase also.

holm avatar Mar 09 '13 12:03 holm

As https://github.com/mcepl/html2text/tree/pr/70 in my repo, and merged to my next branch (all tests pass).

mcepl avatar Nov 06 '13 12:11 mcepl