Open luk156 opened 11 years ago
i resolve add thi line to
def unescape_templatetags_preprocessor(template_content):
for include_text in re.findall(r'{{(.+?)}}', template_content):
new_include_text = re.sub(r'<.*?>', '', include_text)
template_content = template_content.replace(
'{{%s}}' % include_text, '{{%s}}' % new_include_text
)
If in a variable declaration if there is different style give me an error:
Could not parse the remainder: '/text:spancale/text:span' from 'fattura.cliente.cod_fis/text:spancale/text:span'
also if i modify an existing .odt replacing only few character i've the same problem becouse libreoffice insert new span (sorry for my english)