diff --git a/templates/base/components/panel/layout.html.twig b/templates/base/components/panel/layout.html.twig
index ddc916f92..fbcfc7039 100644
--- a/templates/base/components/panel/layout.html.twig
+++ b/templates/base/components/panel/layout.html.twig
@@ -1,6 +1,5 @@
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
-{% apply spaceless %}
-
-{% endapply %}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/templates/base/layouts/activity-panel/activity-entry/layout.html.twig b/templates/base/layouts/activity-panel/activity-entry/layout.html.twig
index c8dbf3326..bae577579 100644
--- a/templates/base/layouts/activity-panel/activity-entry/layout.html.twig
+++ b/templates/base/layouts/activity-panel/activity-entry/layout.html.twig
@@ -1,4 +1,3 @@
-{% apply spaceless %}
- {% block iboActivityEntrySubInformation %}
- {% if oUIBlock.GetOrigin() is not null and oUIBlock.GetOrigin != constant('Combodo\\iTop\\Core\\CMDBChange\\CMDBChangeOrigin::INTERACTIVE') %}
-
-
-
- {% endif %}
- {% if get_config_parameter('activity_panel.show_author_name_below_entries') %}
- {{ oUIBlock.GetAuthorFriendlyname() }}
- {% endif %}
- {{ oUIBlock.GetFormattedDateTime() }}
- {% endblock %}
+ {% apply spaceless %}
+ {% block iboActivityEntrySubInformation %}
+ {% if oUIBlock.GetOrigin() is not null and oUIBlock.GetOrigin != constant('Combodo\\iTop\\Core\\CMDBChange\\CMDBChangeOrigin::INTERACTIVE') %}
+
+
+
+ {% endif %}
+ {% if get_config_parameter('activity_panel.show_author_name_below_entries') %}
+ {{ oUIBlock.GetAuthorFriendlyname() }}
+ {% endif %}
+ {{ oUIBlock.GetFormattedDateTime() }}
+ {% endblock %}
+ {% endapply %}
{% endblock %}
-
-{% endapply %}
\ No newline at end of file
+
\ No newline at end of file