📜  将带有 jinja 的 sqlite 文本显示为 HTML 段落 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:07.389000             🧑  作者: Mango

代码示例1
I think you are trying to render the body as html not as text.

jinja autoescapes the text , you can stop autoescaping, For that you can 
use the safe filter of jinja.

{{ post['content']|safe }}