{% block subject %}
    {{ subject }}
{% endblock %}
 
{% block body_text %}
{% autoescape %}
{{ body_text|raw }} 
{% endautoescape %}
{% endblock %}
 
{% block body_html %}
{% autoescape %}
<p>{{ body_html|raw }}</p>
{% endautoescape %}
{% endblock %}