8000 [WebProfilerBundle] Fix whitespace control in layout.html.twig · symfony/symfony@d052fa9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d052fa9

Browse files
[WebProfilerBundle] Fix whitespace control in layout.html.twig
1 parent 28a0be8 commit d052fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
<ul id="menu-profiler">
3838
{% for name, template in templates %}
3939
{% set menu -%}
40-
{% if block('menu', template) is defined %}
40+
{%- if block('menu', template) is defined -%}
4141
{% with { 'collector': profile.getcollector(name) } %}
4242
{{- block('menu', template) -}}
4343
{% endwith %}
44-
{% endif %}
44+
{%- endif -%}
4545
{%- endset %}
4646
{% if menu != '' %}
4747
<li class="{{ name }}{% if name == panel %} selected{% endif %}">

0 commit comments

Comments
 (0)
0