You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a similar question about decode_errors. I initialize html2text = html2text.HTML2Text() and set some options html2text.single_line_break = True; html2text.decode_errors = "replace". However, looking at cli.py, it seems that unlike other options, decode_errors can only be passed as an arg, not set in this way?
I would like to make use of this option even though I'm not running html2text from the CLI, so please let me know if I'm misunderstanding and how I can set it. Thank you!
Mypy reports this error:
Version by
html2text --version
2024.2.26Python version
python --version
Python 3.10.12Test script a.py
The text was updated successfully, but these errors were encountered: