elapouya / python-docx-template

Use a docx as a jinja2 template
GNU Lesser General Public License v2.1
1.91k stars 378 forks source link

Fix: add whitespace to regexp #493

Closed AdrianVorobel closed 1 year ago

AdrianVorobel commented 1 year ago

They capture wrong xml tags, for example: r'<w:t(?:[^>]*)?>.*?</w:t>' captures not only , but also , etc.