[UI][TEMPLATES] Fix note text template. Use rendered content directly
This commit is contained in:
parent
e2501ee927
commit
10f71e9fed
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user