Correctly interpret the comment newlines as html breaks.

This commit is contained in:
Jan Böhmer 2019-03-13 18:43:20 +01:00
parent 061ca799e3
commit dc92ef84e4

View file

@ -47,7 +47,7 @@
{% if part.comment != "" %}
<h6 title="{% trans %}comment.label{% endtrans %}">
<i class="fas fa-comment-alt fa-fw"></i>
<span class="text-muted">{{ part.comment }}</span>
<span class="text-muted">{{ part.comment|nl2br }}</span>
</h6>
{% endif %}
</div>