diff --git a/lms/templates/courseware/welcome-back.html b/lms/templates/courseware/welcome-back.html index 47422eab6f..94fff2ad11 100644 --- a/lms/templates/courseware/welcome-back.html +++ b/lms/templates/courseware/welcome-back.html @@ -1,12 +1,14 @@ +<%page expression_filter="h"/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext as _ +from openedx.core.djangolib.markup import Text, HTML %> -
${_("You were most recently in {section_link}. If you\'re done with that, choose another section on the left.").format( - section_link=u'{section_name}'.format( +
${Text(_("You were most recently in {section_link}. If you're done with that, choose another section on the left.")).format( + section_link=HTML('{section_name}').format( url=prev_section_url, - section_name=prev_section.display_name_with_default_escaped, + section_name=prev_section.display_name_with_default, ) )}