[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 %}
|
{% 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 %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user