From 9af9d9e69b18aa0174d07a8dd15cc906da94c02c Mon Sep 17 00:00:00 2001 From: geb Date: Wed, 1 Mar 2023 09:07:18 +0100 Subject: [PATCH] fixed element properties for highlighted text --- docxtpl/richtext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docxtpl/richtext.py b/docxtpl/richtext.py index fc2a488..02ab0b9 100644 --- a/docxtpl/richtext.py +++ b/docxtpl/richtext.py @@ -60,7 +60,7 @@ class RichText(object): if highlight: if highlight[0] == '#': highlight = highlight[1:] - prop += u'' % highlight + prop += u'' % highlight if size: prop += u'' % size prop += u'' % size