docxtpl
docxtpl copied to clipboard
Function fix_tables resets tables configured in Libreoffice Writer
This solved my problem:
parser = etree.XMLParser(recover=True)
tree = etree.fromstring(xml_src, parser=parser)
# tree = self.fix_tables(xml_src)