Commit 3d6aed92 authored by Nicolas Delaby's avatar Nicolas Delaby

output xhtml

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44685 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3bd2f572
......@@ -42,7 +42,7 @@ class HTMLToOdt:
html_node.insert(0, head)
SubElement(head, 'meta', **{'http-equiv': 'Content-Type',
'content': 'text/html; charset=utf-8'})
orig = html.tostring(html_tree, encoding='utf-8')
orig = html.tostring(html_node, encoding='utf-8', method='xml')
doc = OOOdCommandTransform(context, filename, orig, self.inputs[0])
odt = doc.convertTo('odt')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment