Skip to content

Commit

Permalink
Release 4.15: HTML rendering on the terminal 馃榿
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Jul 14, 2018
1 parent 1a75069 commit d176681
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ Changelog`_ . This project adheres to `semantic versioning`_.
.. _Keep a Changelog: http://keepachangelog.com/
.. _semantic versioning: http://semver.org/

`Release 4.15`_ (2018-07-14)
----------------------------

Added the ``ansi_to_html()`` function which is a shortcut for the
``HTMLConverter`` class that's based on ``html.parser.HTMLParser``.

This new functionality converts HTML with simple text formatting tags like
``<b>`` for bold, ``<i>`` for italic, ``<u>`` for underline, ``<span>`` for
colors, etc. to text with ANSI escape sequences.

I'm still working on that awesome new project, this functionality was born
there but seemed like a useful addition to the ``humanfriendly`` package, given
the flexibility that this provides 馃槆.

.. _Release 4.15: https://github.com/xolox/python-humanfriendly/compare/4.14...4.15

`Release 4.14`_ (2018-07-13)
----------------------------

Expand Down
4 changes: 2 additions & 2 deletions humanfriendly/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Human friendly input/output in Python.
#
# Author: Peter Odding <peter@peterodding.com>
# Last Change: July 13, 2018
# Last Change: July 14, 2018
# URL: https://humanfriendly.readthedocs.io

"""The main module of the `humanfriendly` package."""
Expand Down Expand Up @@ -40,7 +40,7 @@
from humanfriendly.compat import is_string, monotonic

# Semi-standard module versioning.
__version__ = '4.14'
__version__ = '4.15'

# Spinners are redrawn at most this many seconds.
minimum_spinner_interval = 0.2
Expand Down

0 comments on commit d176681

Please sign in to comment.