From 59b8bb54e39a3e0587120a6a4d326e7f727a4e95 Mon Sep 17 00:00:00 2001 From: Nimisha Asthagiri Date: Mon, 11 Apr 2016 12:23:22 -0400 Subject: [PATCH] Fix Dashboard safe template. --- lms/templates/dashboard.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 0550c5c0d5..fa54c3e540 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -8,6 +8,7 @@ from django.template import RequestContext import third_party_auth from third_party_auth import pipeline from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string +from openedx.core.djangolib.markup import Text, HTML %> <% @@ -200,7 +201,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str

- ${_("Email Settings for {course_number}").format(course_number='')} + ${Text(_("Email Settings for {course_number}")).format(course_number=HTML(''))} , ## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not ${_("window open")}