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