fix xss in transcript replace template

PROD-2013
This commit is contained in:
uzairr
2020-08-21 13:08:43 +05:00
parent 4481908b02
commit ec5a1be52b

View File

@@ -1,17 +1,17 @@
<div class="transcripts-message-status status-error">
<span class="icon fa fa-remove" aria-hidden="true"></span>
<%= gettext("Timed Transcript Conflict") %>
<%- gettext("Timed Transcript Conflict") %>
</div>
<p class="transcripts-message">
<%= gettext("The timed transcript for this video on edX is out of date, but YouTube has a current timed transcript for this video.") %>
<%- gettext("The timed transcript for this video on edX is out of date, but YouTube has a current timed transcript for this video.") %>
<strong>
<%= gettext("Do you want to replace the edX transcript with the YouTube transcript?") %>
<%- gettext("Do you want to replace the edX transcript with the YouTube transcript?") %>
</strong>
</p>
<p class="transcripts-error-message is-invisible">
<%= gettext("Error.") %>
<%- gettext("Error.") %>
</p>
<div class="wrapper-transcripts-buttons">
@@ -19,11 +19,11 @@
class="action setting-replace"
type="button"
name="setting-replace"
value="<%= gettext("Yes, replace the edX transcript with the YouTube transcript") %>"
data-tooltip="<%= gettext("Yes, replace the edX transcript with the YouTube transcript") %>"
value="<%- gettext("Yes, replace the edX transcript with the YouTube transcript") %>"
data-tooltip="<%- gettext("Yes, replace the edX transcript with the YouTube transcript") %>"
>
<span>
<%= gettext("Yes, replace the edX transcript with the YouTube transcript") %>
<%- gettext("Yes, replace the edX transcript with the YouTube transcript") %>
</span>
</button>
</div>