Skip to content

Commit

Permalink
templates: competitions: Do not escape problem text in modals
Browse files Browse the repository at this point in the history
  • Loading branch information
tbabej committed Feb 27, 2016
1 parent 8ac9fbd commit cf6cffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions competitions/templates/competitions/season_detail.html
Expand Up @@ -182,7 +182,7 @@ <h4 class="modal-title" id="myModalLabel">

{% with forms|access:series.pk|access:problem.pk as form %}
<div class="modal-body">
<p class="well"> {{problem.text}} </p>
<p class="well"> {{problem.text|safe}} </p>

{% define max_size %}
{% settings_value "ROOTS_MAX_SOLUTION_SIZE" %}
Expand Down Expand Up @@ -244,7 +244,7 @@ <h4 class="modal-title" id="myModalLabel">
</div>

<div class="modal-body">
<p class="well"> {{problem.text}} </p>
<p class="well"> {{problem.text|safe}} </p>

<div id="comments-div-{{ problem.pk }}" style="max-height: 300px; overflow: auto;">
<ul class="commentList" id="comments-{{ problem.pk }}" data-object-id="{{ problem.pk }}">
Expand Down

0 comments on commit cf6cffd

Please sign in to comment.