From e6a080ed4d39e284f204409033cb452a4f5df249 Mon Sep 17 00:00:00 2001 From: Ali-D-Akbar Date: Mon, 24 Aug 2020 16:35:52 +0500 Subject: [PATCH] PROD-1608 --- lms/templates/edxnotes/note-item.underscore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lms/templates/edxnotes/note-item.underscore b/lms/templates/edxnotes/note-item.underscore index 941127984f..2ed78b7d34 100644 --- a/lms/templates/edxnotes/note-item.underscore +++ b/lms/templates/edxnotes/note-item.underscore @@ -18,6 +18,7 @@
  • <%- gettext("You commented...") %>

    + <% // xss-lint: disable=underscore-not-escaped %> <%= interpolate_text(_.escape(text), { elasticsearch_highlight_start: '', elasticsearch_highlight_end: '' @@ -32,7 +33,7 @@

    <%- gettext("Noted in:") %>

    <% if (unit.url) { %> - <%- unit.display_name %> + <%- unit.display_name %> <% } else { %> <%- unit.display_name %> <% } %> @@ -44,6 +45,7 @@

    <%- gettext("Tags:") %>

    <% for (var i = 0; i < tags.length; i++) { %> + <% // xss-lint: disable=underscore-not-escaped %> <%= interpolate_text(_.escape(tags[i]), { elasticsearch_highlight_start: '', elasticsearch_highlight_end: ''