diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/body.txt index 015d8c577b..eea8f8c70e 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/body.txt @@ -1,3 +1,4 @@ +{% autoescape off %} {% load i18n %} {% blocktrans trimmed %} @@ -14,3 +15,4 @@ With self-paced courses, you learn on your own schedule. We encourage you to spe Your focused attention will pay off in the end! {% endblocktrans %} {% include "schedules/edx_ace/common/upsell_cta.txt"%} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/from_name.txt index 08e86bddd0..fd8b9b7554 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/from_name.txt @@ -1 +1,3 @@ +{% autoescape off %} {{ course_name }} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/subject.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/subject.txt index fe3648a473..bc3c1573b3 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/subject.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/courseupdate/email/subject.txt @@ -1,3 +1,5 @@ +{% autoescape off %} {% load i18n %} {% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt index 61319a07b1..8760535e3f 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt @@ -1,3 +1,4 @@ +{% autoescape off %} {% load i18n %} {% load ace %} {% if course_ids|length > 1 %} @@ -14,3 +15,4 @@ {% trans "Keep learning" %} <{% with_link_tracking course_url %}> {% endif %} {% include "schedules/edx_ace/common/upsell_cta.txt"%} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt index d25f5d3e4a..a2463a9304 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt @@ -1,5 +1,7 @@ +{% autoescape off %} {% if course_ids|length > 1 %} {{ platform_name }} {% else %} {{ course_name }} {% endif %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/subject.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/subject.txt index 942a1b397c..7d25fd612c 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/subject.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/subject.txt @@ -1,2 +1,4 @@ +{% autoescape off %} {% load i18n %} -{% trans "Keep up the momentum!" %} \ No newline at end of file +{% trans "Keep up the momentum!" %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt index 22a486df24..1931edefec 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt @@ -1,3 +1,4 @@ +{% autoescape off %} {% load i18n %} {% load ace %} {% if course_ids|length > 1 %} @@ -16,3 +17,4 @@ {% trans "Start learning now" %} <{% with_link_tracking course_url %}> {% endif %} {% include "schedules/edx_ace/common/upsell_cta.txt"%} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt index d25f5d3e4a..a2463a9304 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt @@ -1,5 +1,7 @@ +{% autoescape off %} {% if course_ids|length > 1 %} {{ platform_name }} {% else %} {{ course_name }} {% endif %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt index e35b890798..2752c14157 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt @@ -1,6 +1,8 @@ +{% autoescape off %} {% load i18n %} {% if course_ids|length > 1 %} {% blocktrans %}Keep learning on {{ platform_name }}{% endblocktrans %} {% else %} {% blocktrans %}Keep learning in {{course_name}}{% endblocktrans %} {% endif %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.txt index 20eab89df3..7c8b275a14 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.txt @@ -1,3 +1,4 @@ +{% autoescape off %} {% load i18n %} {% load ace %} {% if course_ids|length > 1 %} @@ -27,3 +28,4 @@ Upgrade by {{ user_schedule_upgrade_deadline_time }}. {% trans "Upgrade now at" %} <{% with_link_tracking upsell_link %}> {% endif %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/from_name.txt index 9a58dc516b..6a7f354a1d 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/from_name.txt @@ -1,5 +1,7 @@ +{% autoescape off %} {% if course_ids|length > 1 %} {{ platform_name }} {% else %} {{ first_course_name }} {% endif %} +{% endautoescape %} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/subject.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/subject.txt index 585253a0d1..215eda56ee 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/subject.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/subject.txt @@ -1,3 +1,4 @@ +{% autoescape off %} {% load i18n %} {% if course_ids|length > 1 %} @@ -5,3 +6,4 @@ {% else %} {% blocktrans %}Upgrade to earn a verified certificate in {{ first_course_name }}{% endblocktrans %} {% endif %} +{% endautoescape %}