I have some HTML content that I want to pass to the template to render. However, it escapes the tags to use HTML entities (<), so they show up as code rather than markup. How can I render the html passed to the template?
tags = """<p>some text here</p>"""
render_template ('index.html',tags=tags)
{{ tags }}
'< some text here >'
I want a paragraph with the text though.
some text here