]> git.parisson.com Git - teleforma.git/commitdiff
safe for answer
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 21:59:53 +0000 (22:59 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 21:59:53 +0000 (22:59 +0100)
teleforma/templates/teleforma/answer_detail.html

index b4acc63574b57534eac02ccd3344aa8364e15dfb..865bf89d85685a8eecbf723446e6a08ce5cdb255 100644 (file)
@@ -47,7 +47,7 @@ $('#reject').unbind('click').click(function() {
    <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Answer" %}{% if answer.question.rank %} n° {{ answer.question.rank }}{% endif %} ({{ answer.answer|length }}/{{ answer.question.min_nchar }} {% trans "characters" %})</h3>
   </div>
   <div style="text-align: justify; padding: 0.5em;">
-    {{ answer.answer }}
+    {{ answer.answer|safe }}
   </div>
 </div>