1👍
✅
Use safe filter.
For example:
{{ your_html|safe }}
By default Django template engine escapes HTML to prevent XSS attacks. By using this filter you say the HTML is safe and can be rendered normally.
Source:stackexchange.com