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")}