Skip to content
Snippets Groups Projects
Commit da72036e authored by srosse's avatar srosse
Browse files

OO-5569: escape text gaps in score panel

parent 690d963f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<tbody>
#foreach($choice in $choices)
<tr>
<td>$choice.summary</td>
<td>$r.escapeHtml($choice.summary)</td>
<td>$r.render($choice.getPointsEl().getComponent().getComponentName())
#if($f.hasError($choice.getPointsEl().getComponent().getComponentName()))
<div>$r.render("${choice.getPointsEl().getComponent().getComponentName()}_ERROR")</div>
......@@ -17,7 +17,7 @@
#set($alternatives = ${choice.getAlternatives()})
#foreach($alternative in $alternatives)
<tr>
<td><span class='o_qti_gaptext_score_alternative'>$alternative.summary</span></td>
<td><span class='o_qti_gaptext_score_alternative'>$r.escapeHtml($alternative.summary)</span></td>
<td>$r.render(${alternative.getPointsEl().getComponent().getComponentName()})
#if($f.hasError($alternative.getPointsEl().getComponent().getComponentName()))
<div>$r.render("${alternative.getPointsEl().getComponent().getComponentName()}_ERROR")</div>
......
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