Commit f8e1224f by Matt Drayer

Merge pull request #9805 from edx/ziafazal/SOL-1193-escapejs

escape string literal also
parents dfaef635 eb33c337
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment