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 }}