CalPolyResDev / uh_internal_project

2 stars 3 forks source link

Update html2text to 2024.2.25 #1089

Closed pyup-bot closed 8 months ago

pyup-bot commented 8 months ago

This PR updates html2text from 2018.1.9 to 2024.2.25.

Changelog ### 2024.2.25 ``` ========= ---- * 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: ``\n`` inside text of a Markdown link. * Feature 406: Improve support for null atttibute values. ``` ### 2020.1.16 ``` ========= ---- * Add type annotations. * Add support for Python 3.8. * Performance improvements when ``wrap_links`` is ``False`` (the default). * Configure setuptools using setup.cfg. ``` ### 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. ``` ### 2019.8.11 ``` ========= ---- * Add support for wrapping list items. * Fix 201: handle &lrm;/&rlm; 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. ```
Links - PyPI: https://pypi.org/project/html2text - Changelog: https://data.safetycli.com/changelogs/html2text/ - Repo: https://github.com/Alir3z4/html2text/
pyup-bot commented 8 months ago

Closing this in favor of #1090