convert newlines in comment text to <br>

This commit is contained in:
Adarnof 2016-07-15 10:43:55 -04:00 committed by GitHub
parent 45388a8907
commit c2c03de22a

View File

@ -116,7 +116,7 @@
<div class="panel-heading" role="tab" id="">
<div class="panel-title">{{comment.created}} - {{ comment.user }}</div>
</div>
<div class="panel-body">{{ comment.text }}</div>
<div class="panel-body">{{ comment.text|linebreaks }}</div>
</div>
{% endfor %}
</div>