From d9801fd6e431b4b31134b260ad3859b7455ec9fb Mon Sep 17 00:00:00 2001 From: elapouya Date: Sun, 12 Mar 2023 11:04:03 +0100 Subject: [PATCH] PR #482 --- CHANGES.rst | 4 ++++ docxtpl/__init__.py | 2 +- tests/richtext.py | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index dd765d4..d416af9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,7 @@ +0.16.6 (2023-03-12) +------------------- +- PR #482 - thanks to dreizehnutters + 0.16.5 (2023-01-07) ------------------- - PR #467 - thanks to Slarag diff --git a/docxtpl/__init__.py b/docxtpl/__init__.py index 1ef0ba7..29a1c08 100644 --- a/docxtpl/__init__.py +++ b/docxtpl/__init__.py @@ -4,7 +4,7 @@ Created : 2015-03-12 @author: Eric Lapouyade """ -__version__ = '0.16.5' +__version__ = '0.16.6' # flake8: noqa from .inline_image import InlineImage diff --git a/tests/richtext.py b/tests/richtext.py index a3f38cb..7d40ae5 100644 --- a/tests/richtext.py +++ b/tests/richtext.py @@ -18,6 +18,8 @@ rt.add('some violet', color='#ff00ff') rt.add(' and ') rt.add('some striked', strike=True) rt.add(' and ') +rt.add('some Highlighted', highlight='#ffff00') +rt.add(' and ') rt.add('some small', size=14) rt.add(' or ') rt.add('big', size=60)