How to render a template displaying HTML field in formated text

Hi, I have a text field that contains HTML tags, I want to render it in formated text using FODT template. I tried with Markup() but doesn’t work. How can I do it?

<Markup(line).striptags()>

Best.

1 Like

The richeditor works fine, but I want to display html formated styles in FODT report. Pass the info to the report and render with the style (specially bold and italtic).

richtext is a subset of HTML so it is the same problem.

1 Like