From 6887ab1c260501e50e07547bb1a827dc189bd16f Mon Sep 17 00:00:00 2001 From: uzairr Date: Fri, 21 Aug 2020 12:36:08 +0500 Subject: [PATCH] Fix xss in course handout template PROD-2002 --- cms/templates/js/course_info_handouts.underscore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cms/templates/js/course_info_handouts.underscore b/cms/templates/js/course_info_handouts.underscore index 16d48118da..dfa78587dd 100644 --- a/cms/templates/js/course_info_handouts.underscore +++ b/cms/templates/js/course_info_handouts.underscore @@ -1,22 +1,22 @@ -<%= gettext("Edit") %> +<%- gettext("Edit") %> -

<%= gettext("Course Handouts") %>

+

<%- gettext("Course Handouts") %>

<%if (model.get('data') != null) { %>
<% } else {%> -

<%= gettext("You have no handouts defined") %>

+

<%- gettext("You have no handouts defined") %>

<% } %>
- <%= gettext("There is invalid code in your content. Please check to make sure it is valid HTML.") %> + <%- gettext("There is invalid code in your content. Please check to make sure it is valid HTML.") %>