diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig index bcf97ddcbfb46..a3d761deedba2 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig @@ -38,7 +38,7 @@ {% for name, template in templates %} {% set menu -%} {% with { 'collector': profile.getcollector(name) } %} - {{ block('menu', template) }} + {{- block('menu', template) -}} {% endwith %} {%- endset %} {% if menu != '' %}