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

Function fix_tables resets tables configured in Libreoffice Writer #472

Open Manesx opened 1 year ago

Manesx commented 1 year ago

This solved my problem:

parser = etree.XMLParser(recover=True)
tree = etree.fromstring(xml_src, parser=parser)
# tree = self.fix_tables(xml_src)