diff --git a/lms/templates/survey/survey.html b/lms/templates/survey/survey.html index acebd44195..04f7a1d815 100644 --- a/lms/templates/survey/survey.html +++ b/lms/templates/survey/survey.html @@ -5,6 +5,7 @@ from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse from django.utils import html +from openedx.core.djangolib.markup import Text, HTML %> <%block name="pagetitle">${_("User Survey")} @@ -42,7 +43,7 @@ from django.utils import html - ${survey_form | n, unicode} + ${HTML(survey_form)}
@@ -63,7 +64,11 @@ from django.utils import html

${_('Who can I contact if I have questions?')}

- ${_('If you have any questions about this course or this form, you can contact {mail_to_link}.').format(mail_to_link=mail_to_link)} + ${Text(_("If you have any questions about this course or this form, you can contact {link_start}{mail_to_link}{link_end}.")).format( + link_start=HTML('').format(mail_to_link=mail_to_link), + link_end=HTML(''), + mail_to_link=mail_to_link + )}