1👍
✅
{{ log }}
inserts the escaped html, not the raw. So $('#logbuffer').innerHTML
returns the
<?xml ... ?>
<?xml-stylesheet type="text/xsl" ... ?>
and so on...
You have to mark the log
variable as safe:
{{ log|safe }}
Source:stackexchange.com