christopher-ramirez / secretary

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

Style tags created on render are discarted #12

Closed christopher-ramirez closed 9 years ago

christopher-ramirez commented 9 years ago

Style tags created with Renderer.insert_style_in_content method while rendering a template are not included in the final document.

This is happening because insert_style_in_content is working over self.content which is then overwritten on line 487.