Releases: Alir3z4/html2text
Releases · Alir3z4/html2text
2024.2.26
2024.2.25
What's Changed
- Add unreleased section to readme by @Alir3z4 in #319
- Make padded tables more similar to pandoc's pipe_tables by @ulodciv in #318
- Simplify and update lint configurations by @jdufresne in #335
- Support Python 3.9 by @mborsetti in #340
- Don't add line breaks inside link names by @mborsetti in #339
- indent
<ul>
inside<ol>
three spaces instead of two by @snarfed in #345 - Insert whitespace at most once with multpile emphasis by @EdwardJRoss in #333
- omit unnecessary spaces around
<b>
,<em>
, and<strike>
by @snarfed in #342 - Don't wrap tables by default by @gpanders in #353
- fix test failure introduced in #342 by @snarfed in #357
- FIX issue #320 crashes when padding empty table by @mpodolsk in #361
- Add
ignore_mailto_links
config option by @gpanders in #356 - Fix
\n
inside text of a Markdown link by @mborsetti in #373 - Using GitHub Actions instead of Travis CI by @Alir3z4 in #358
- Fix extra newline bug by @theSage21 in #363
- Support Python 3.10, 3.11 and 3.12 by @mborsetti in #392
- Ignore
<p>
tags in table rows by @gpanders in #354 - Improve support for null attribute values by @alexmv in #406
- Support sup and sub html tags by @cowboysync in #408
New Contributors
- @ulodciv made their first contribution in #318
- @snarfed made their first contribution in #345
- @EdwardJRoss made their first contribution in #333
- @gpanders made their first contribution in #353
- @mpodolsk made their first contribution in #361
- @alexmv made their first contribution in #406
Full Changelog: 2020.1.16...2024.2.25
Release 2019.8.11
- 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 animg
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 usingpython -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.
Release 2018.1.9
Release 2017.10.4
Version 2017.10.4
- Fix #157: Fix images link with div wrap
- Fix #55: Fix error when empty title tags
- Fix #160: The html2text tests are failing on Windows and on Cygwin due to differences in eol handling between windows/*nix
- Feature #164: Housekeeping: Add flake8 to the travis build, cleanup existing flake8 violations, add py3.6 and pypy3 to the travis build
- Fix #109: Fix for unexpanded < > &
- Fix #143: Fix line wrapping for the lines starting with bold
- Adds support for numeric bold text indication in
font-weight
,
as used by Google (and presumably others.) - Fix #173 and #142: Stripping whitespace in crucial markdown and adding whitespace as necessary
- Don't drop any cell data on tables uneven row lengths (e.g. colspan in use)
Release Version 2016.9.19
2016.9.19
- Default image alt text option created and set to a default of empty string "" to maintain backward compatibility
- Fix #136: --default-image-alt now takes a string as argument
- Fix #113: Stop changing quiet levels on /script tags.
- Merge #126: Fix deprecation warning on py3 due to html.escape
- Fix #145: Running test suite on Travis CI for Python 2.6.
Release Version 2016.5.29
Release Version 2016.4.2
Release Version 2016.1.8
Release Version 2015.11.4
2015.11.4
- Fix #38: Long links wrapping controlled by
--no-wrap-links
. - Note:
--no-wrap-links
implies--reference-links
- Feature #83: Add callback-on-tag.
- Fix #87: Decode errors can be handled via command line.
- Feature #95: Docs, decode errors spelling mistake.
- Fix #84: Make bodywidth kwarg overridable using config.