escape string literal also

This commit is contained in:
Zia Fazal
2015-09-17 12:57:36 +05:00
parent 70866104bf
commit eb33c337b5

View File

@@ -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}'
});">
<i class="icon fa fa-facebook-official" aria-hidden="true"></i>
<span class="action-label">${_("Post on Facebook")}</span>