I have the following Python code
...
return render_template('main.html', in_html = in_html)
in_html is html code that I want to run in a div once main.html loads
My main.html file
...
<div> {{in_html}} </div>
This doesn't work, it displays the actual html code as text of the div. What am I doing wrong?