From ff0db816d31eeb711cf0299e94cbd99526325bdd Mon Sep 17 00:00:00 2001 From: Alireza Savand Date: Sun, 25 Feb 2024 15:40:33 +0300 Subject: [PATCH] Release 2024.2.25 --- ChangeLog.rst | 10 ++++++---- README.md | 10 +++------- html2text/__init__.py | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 8956610..99d125d 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,5 +1,5 @@ -UNRELEASED -========== +2024.2.25 +========= ---- * Fix #332: Insert at most one space for multiple emphasis @@ -12,10 +12,12 @@ UNRELEASED * Feature #198: Ignore ``

`` 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 tags. +* Support for Python 3.10+. +* Fix #320 padding empty tables and tables with no ```` 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. diff --git a/README.md b/README.md index d7d19ed..9b7f607 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,8 @@ # html2text -[![Build Status](https://secure.travis-ci.org/Alir3z4/html2text.png)](https://travis-ci.org/Alir3z4/html2text) -[![Coverage Status](https://coveralls.io/repos/Alir3z4/html2text/badge.png)](https://coveralls.io/r/Alir3z4/html2text) -[![Downloads](http://badge.kloud51.com/pypi/d/html2text.png)](https://pypi.org/project/html2text/) -[![Version](http://badge.kloud51.com/pypi/v/html2text.png)](https://pypi.org/project/html2text/) -[![Wheel?](http://badge.kloud51.com/pypi/wheel/html2text.png)](https://pypi.org/project/html2text/) -[![Format](http://badge.kloud51.com/pypi/format/html2text.png)](https://pypi.org/project/html2text/) -[![License](http://badge.kloud51.com/pypi/license/html2text.png)](https://pypi.org/project/html2text/) +[![CI](https://github.com/Alir3z4/html2text/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/Alir3z4/html2text/actions/workflows/main.yml) +[![codecov](https://codecov.io/gh/Alir3z4/html2text/graph/badge.svg?token=OoxiyymjgU)](https://codecov.io/gh/Alir3z4/html2text) + html2text is a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format). diff --git a/html2text/__init__.py b/html2text/__init__.py index 32bd365..937ea9d 100644 --- a/html2text/__init__.py +++ b/html2text/__init__.py @@ -27,7 +27,7 @@ unifiable_n, ) -__version__ = (2020, 1, 16) +__version__ = (2024, 2, 25) # TODO: