- update to 2024.2.26:
* Fixes#409: IndexError on empty strong mark.
* Fix#332: Insert at most one space for multiple emphasis
* Feature #318: Make padded tables more similar to pandoc's
pipe_tables.
* Add support for Python 3.9.
* Fix extra line breaks inside html link text (between '[' and
']')
* Fix#344: indent <ul> inside <ol> three spaces instead of two
to comply with CommonMark, GFM, etc.
* Fix#324: unnecessary spaces around <b>, <em>, and strike
tags.
* Don't wrap tables by default and add a --wrap-tables config
option.
* Feature #198: Ignore <p> tags inside table rows.
* Don't wrap tables by default and add a --wrap-tables config
option
* Remove support for Python ≤ 3.5. Now requires Python 3.6+.
* Support for Python 3.10+.
* Fix#320 padding empty tables and tables with no </tr> tags.
* Add ignore_mailto_links config option to ignore mailto: style
links.
* Feature #407: Support the superscript and subscript tags.
* Fix#373:
inside text of a Markdown link.
* Feature #406: Improve support for null atttibute values.
OBS-URL: https://build.opensuse.org/request/show/1159224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=26
* Fixes#409: IndexError on empty strong mark.
* Fix#332: Insert at most one space for multiple emphasis
* Feature #318: Make padded tables more similar to pandoc's
pipe_tables.
* Add support for Python 3.9.
* Fix extra line breaks inside html link text (between '[' and
']')
* Fix#344: indent <ul> inside <ol> three spaces instead of two
to comply with CommonMark, GFM, etc.
* Fix#324: unnecessary spaces around <b>, <em>, and strike
tags.
* Don't wrap tables by default and add a --wrap-tables config
option.
* Feature #198: Ignore <p> tags inside table rows.
* Don't wrap tables by default and add a --wrap-tables config
option
* Remove support for Python ≤ 3.5. Now requires Python 3.6+.
* Support for Python 3.10+.
* Fix#320 padding empty tables and tables with no </tr> tags.
* Add ignore_mailto_links config option to ignore mailto: style
links.
* Feature #407: Support the superscript and subscript tags.
* Fix#373:
inside text of a Markdown link.
* Feature #406: Improve support for null atttibute values.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=42
- Update to 2019.9.26:
* Fix long blockquotes wrapping.
* Remove the trailing whitespaces that were added after wrapping list items & blockquotes.
* Remove support for Python <= 3.4. Now requires Python 3.5+.
* Fix memory leak when processing a document containing a <abbr> tag.
* Fix AttributeError when reading text from stdin.
* Fix UnicodeEncodeError when writing output to stdout.
- Disable build for Python 2
OBS-URL: https://build.opensuse.org/request/show/756872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=33
- Update to 2019.8.11:
* 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.
- Remove patch remove_unittest2.patch
OBS-URL: https://build.opensuse.org/request/show/730321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=20
* 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.
- Remove patch remove_unittest2.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=31
Fix#188: Non-ASCII in title attribute causes encode error.
Feature #194: Add support for the <kbd> tag.
Feature #193: Add support for the <q> tag.
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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=26
Update to version 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.
Additional changes from version 2015.6.21
* Fix#31: HTML entities stay inside link.
* Fix#71: Coverage detects command line tests.
* Fix#39: Documentation update.
* Fix#61: Functionality added for optional use of automatic links.
* Feature #80: ``title`` attribute is preserved in both inline and reference links.
* Feature #82: More command line options. See docs.
Additional changes from version 2015.6.12
* Feature #76: Making ``pre`` blocks clearer for further automatic formatting.
* Fix#71: Coverage detects tests carried out in ``subprocesses``
Additional changes from version 2015.6.6
* Fix#24: ``3.200.3`` vs ``2014.7.3`` output quirks.
* Fix#61. Malformed links in markdown output.
* Feature #62: Automatic version number.
* Fix#63: Nested code, anchor bug.
* Fix#64: Proper handling of anchors with content that starts with tags.
* Feature #67: Documentation all over the module.
* Feature #70: Adding tests for the module.
* Fix#73: Typo in config documentation.
OBS-URL: https://build.opensuse.org/request/show/368724
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=20