Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attributes line wrap_links not configurable on the library level #308

Open
098799 opened this issue Dec 11, 2019 · 1 comment
Open

attributes line wrap_links not configurable on the library level #308

098799 opened this issue Dec 11, 2019 · 1 comment

Comments

@098799
Copy link

098799 commented Dec 11, 2019

  • Version by html2text --version
    html2text==2019.9.26

In the current version of html2text, if one tries to use the library through html2text function or HTML2Text class, there's no way to specify variables such as wrap_links for the program. It would be preferable if the class HTML2Text allowed configuration regardless of the cli usage. Currently, the package is not usable as a library.

@098799
Copy link
Author

098799 commented Dec 11, 2019

Issued a PR, but it can't be merged in the current state, as hits mypy's bug:
#309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant