mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Correctly interpret the comment newlines as html breaks.
This commit is contained in:
parent
061ca799e3
commit
dc92ef84e4
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue