From eb33c337b565fb8c2ee21828d6c606b01b9f76fd Mon Sep 17 00:00:00 2001 From: Zia Fazal Date: Thu, 17 Sep 2015 12:57:36 +0500 Subject: [PATCH] escape string literal also --- lms/templates/certificates/_accomplishment-banner.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/certificates/_accomplishment-banner.html b/lms/templates/certificates/_accomplishment-banner.html index 41e8d82445..e674f8a153 100644 --- a/lms/templates/certificates/_accomplishment-banner.html +++ b/lms/templates/certificates/_accomplishment-banner.html @@ -51,7 +51,7 @@ from django.template.defaultfilters import escapejs share_text: '${facebook_share_text | escapejs}', share_link: '${share_url}', picture_link: '${full_course_image_url}', - description: '${_('Click the link to see my certificate.')}' + description: '${_('Click the link to see my certificate.') | escapejs}' });"> ${_("Post on Facebook")}