christopher-ramirez / secretary

Take the power of Jinja2 templates to OpenOffice and LibreOffice.
Other
190 stars 48 forks source link

Handle flat ODT files #37

Open liberforce opened 7 years ago

liberforce commented 7 years ago

Libreoffice handles different files, for example .fodt files are flat XML ODT files. They're useful as all the data is in a single uncompressed xml file that you can then track using a source code manager. Currently you expect all files received to be .odt.

liberforce commented 7 years ago

Be careful, in this format, something like: {{ field or '' }} will be escaped in the resulting XML: {{ field or \'\' }}

christopher-ramirez commented 7 years ago

Secretary should unescape single/double quotes. Will have a look into *.fodt files. Honestly haven't heard of them before.

christopher-ramirez commented 7 years ago

This will be implemented in next major version of Secretary (0.2.x). Implementation already on development branch. See current implemetation.