- Add support for wrapping list items.
- Fix #201: handle / marks mid-text within stressed tags or right after stressed tags.
- Feature #213:
images_as_html
config option to always generate an img
html tag. preserves "height", "width" and "alt" if possible.
- Remove support for end-of-life Pythons. Now requires Python 2.7 or 3.4+.
- Remove support for retrieving HTML over the network.
- Add
__main__.py
module to allow running the CLI using python -m html2text ...
.
- Fix #238: correct spacing when a HTML entity follows a non-stressed tags which follow a stressed tag.
- Remove unused or deprecated:
html2text.compat.escape()
html2text.config.RE_UNESCAPE
html2text.HTML2Text.replaceEntities()
html2text.HTML2Text.unescape()
html2text.unescape()
- Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag.
PyPI: https://pypi.org/project/html2text/2019.8.11/