Skip to content
Snippets Groups Projects
Commit f2c8582c authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Merge pull request #11909 from edx/jibsheet/html-escape-submission-history

Submission History safe by default
parents 05ffcb0a 8a85d7e3
No related branches found
No related tags found
No related merge requests found
<%page expression_filter="h"/>
<% import json %>
<h3>${username | h} > ${course_id | h} > ${location | h}</h3>
<h3>${username} > ${course_id} > ${location}</h3>
% for i, (entry, score) in enumerate(zip(history_entries, scores)):
<hr/>
......@@ -7,7 +8,7 @@
<b>#${len(history_entries) - i}</b>: ${entry.updated} UTC</br>
Score: ${score.grade} / ${score.max_grade}
<pre>
${json.dumps(entry.state, indent=2, sort_keys=True) | h}
${json.dumps(entry.state, indent=2, sort_keys=True)}
</pre>
</div>
% endfor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment