fix xss in grading editor template
PROD-2024
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<h3 class="modal-section-title"><%= gettext('Grading') %></h3>
|
||||
<h3 class="modal-section-title"><%- gettext('Grading') %></h3>
|
||||
<div class="modal-section-content grading-type">
|
||||
<ul class="list-fields list-input">
|
||||
<li class="field field-grading-type field-select">
|
||||
<label for="grading_type" class="label"><%= gettext('Grade as:') %></label>
|
||||
<label for="grading_type" class="label"><%- gettext('Grade as:') %></label>
|
||||
<select class="input" id="grading_type">
|
||||
<option value="notgraded"><%= gettext('Not Graded') %></option>
|
||||
<option value="notgraded"><%- gettext('Not Graded') %></option>
|
||||
<% _.each(graderTypes, function(grader) { %>
|
||||
<option value="<%= grader %>"><%= grader %></option>
|
||||
<option value="<%- grader %>"><%- grader %></option>
|
||||
<% }); %>
|
||||
</select>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user