mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
Revert "N°8579 - remove "spaceless" in twig files"
This reverts commit ee993ef80a.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
<div id="{{ oUIBlock.GetId() }}" class="ibo-dashlet-text {% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}" data-role="ibo-dashlet-text">
|
||||
{# |raw filter is ok here as the escaping is already done by the \DashletPlainText class itself #}
|
||||
{{- oUIBlock.GetText()|raw -}}
|
||||
</div>
|
||||
{% apply spaceless %}
|
||||
<div id="{{ oUIBlock.GetId() }}" class="ibo-dashlet-text {% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}" data-role="ibo-dashlet-text">
|
||||
{# |raw filter is ok here as the escaping is already done by the \DashletPlainText class itself #}
|
||||
{{ oUIBlock.GetText()|raw }}
|
||||
</div>
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user