diff --git a/CHANGES.rst b/CHANGES.rst index e7fcb37..2ace08a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,7 @@ +0.11.5 (2021-05-09) +------------------- +- PR #351 + 0.11.4 (2021-04-06) ------------------- - It is now possible to put InlineImage in header/footer diff --git a/docxtpl/__init__.py b/docxtpl/__init__.py index 921991a..bafd6a0 100644 --- a/docxtpl/__init__.py +++ b/docxtpl/__init__.py @@ -4,7 +4,7 @@ Created : 2015-03-12 @author: Eric Lapouyade """ -__version__ = '0.11.4' +__version__ = '0.11.5' import functools import io diff --git a/tests/richtext.py b/tests/richtext.py index 5304abb..a3f38cb 100644 --- a/tests/richtext.py +++ b/tests/richtext.py @@ -28,7 +28,8 @@ rt.add('\nEt voilĂ  ! ') rt.add('\n1st line') rt.add('\n2nd line') rt.add('\n3rd line') -rt.add('\n\n') +rt.add('\aA new paragraph : \a') +rt.add('--- A page break here (see next page) ---\f') for ul in ['single', 'double', 'thick', 'dotted', 'dash', 'dotDash', 'dotDotDash', 'wave']: rt.add('\nUnderline : ' + ul + ' \n', underline=ul) diff --git a/tests/templates/replace_picture_tpl.docx b/tests/templates/replace_picture_tpl.docx index 3d76d98..fe86790 100644 Binary files a/tests/templates/replace_picture_tpl.docx and b/tests/templates/replace_picture_tpl.docx differ