some html code missing < >
when I use 0.11.1,I try insert htmlcode to docx.I found some html tag like '

rendered HTML is not supported in docx. If you just want to display HTML as simple text, do not forget to escape it (see doc)
rendered HTML is not supported in docx. If you just want to display HTML as simple text, do not forget to escape it (see doc)
I want display html code in docx. And I escape it but in the docx some html tag missing '<' '>' . I try use version 0.10.5 .The html as simple text can be displayed . But on version 0.11.1 The html tag's <> missing
tpl = DocxTemplate(template)
tpl.render(content,autoescape=True)
tpl.save('xxxx.docx')
content is some http respond
In version 0.11.1, the test escape_auto.py works properly : the text <unicode> is correctly displayed in the generated docx escape_auto.docx.
Could you provide a complete test case (.py and template.docx) so I can reproduce your problem ?
In version 0.11.1, the test
escape_auto.pyworks properly : the text<unicode>is correctly displayed in the generated docxescape_auto.docx. Could you provide a complete test case (.py and template.docx) so I can reproduce your problem ? `#coding:utf-8
xxx = {}
from docxtpl import DocxTemplate
with open ('./123.txt') as f:
xxx['html'] = f.read()
tpl = DocxTemplate('template/test.docx')
tpl.render(xxx,autoescape=True)
tpl.save('xxxx.docx')
`
123.txt
Fixed in 0.11.2