christopher-ramirez / secretary

Take the power of Jinja2 templates to OpenOffice and LibreOffice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style tags created on render are discarted

christopher-ramirez opened this issue · comments

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.