[UI][TEMPLATES] Fix note text template. Use rendered content directly

This commit is contained in:
Hugo Sales 2022-03-28 23:22:46 +01:00
parent e2501ee927
commit 10f71e9fed
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -50,10 +50,7 @@
{% block note_text %}
<div class="note-text" tabindex="0"
title="{% trans %}Main note content{% endtrans %}">
{% set paragraph_array = note.getRenderedSplit() %}
{% for paragraph in paragraph_array %}
<p>{{ paragraph | raw }}</p>
{% endfor %}
{{ note.getRendered() | raw }}
</div>
{% endblock note_text %}