diff --git a/lms/templates/registration/activate_account_notice.html b/lms/templates/registration/activate_account_notice.html index dc8b4e139f..db35b02e57 100644 --- a/lms/templates/registration/activate_account_notice.html +++ b/lms/templates/registration/activate_account_notice.html @@ -1,14 +1,21 @@ -<%! from django.utils.translation import ugettext as _ %> +<%page expression_filter="h"/> +<%! +from django.utils.translation import ugettext as _ +from openedx.core.djangolib.markup import HTML, Text +%>
${_('Something went wrong. Check to make sure the URL you went to was ' - 'correct -- e-mail programs will sometimes split it into two ' - 'lines. If you still have issues, e-mail us to let us know what happened ' - 'at {email}.').format(email='{email}'.format(email=settings.BUGS_EMAIL))}
+${Text(_('Something went wrong. Check to make sure the URL you went to was ' + 'correct -- e-mail programs will sometimes split it into two ' + 'lines. If you still have issues, e-mail us to let us know what happened ' + 'at {email_start}{email}{email_end}.')).format( + email_start=HTML('').format(settings.BUGS_EMAIL), + email=settings.BUGS_EMAIL, + email_end=HTML('') + )}
-${_('Or you can go back to the {link_start}home page{link_end}.').format(link_start='', link_end='')}
+${Text(_('Or you can go back to the {link_start}home page{link_end}.')).format( + link_start=HTML(''), link_end=HTML(''))}