Fix edx-ace templates

This patch is part of multiple PR's to
protect templates against xss attack

PROD-465
This commit is contained in:
Adeel Khan
2019-07-14 04:13:44 +05:00
parent cb530bf788
commit 7d9be69112
22 changed files with 209 additions and 62 deletions

View File

@@ -6,30 +6,40 @@
<tr>
<td>
<p>
{% filter force_escape %}
{% blocktrans trimmed %}
Hello {{full_name}},
{% endblocktrans %}
{% endfilter %}
</p>
<p>
{% filter force_escape %}
{% blocktrans trimmed %}
We received a deletion request for your account on {{platform_name}}. We're sorry to see you go!
{% endblocktrans %}
{% endfilter %}
</p>
<p>
{% filter force_escape %}
{% blocktrans trimmed %}
Your account will be deleted shortly. Account deletion, including removal from email lists, may take a few weeks to fully process through our system. If you want to opt-out of emails before then, please unsubscribe from the footer of any email.
{% endblocktrans %}
{% endfilter %}
</p>
<p>
{% filter force_escape %}
{% blocktrans trimmed %}
This is an informational email only. If you did not initiate this request, please contact {{contact_email}}.
{% endblocktrans %}
{% endfilter %}
</p>
<p>
{% filter force_escape %}
{% blocktrans trimmed %}
Best,
{{ platform_name }}
{% endblocktrans %}
{% endfilter %}
</p>
</td>
</tr>