diff --git a/Resources/views/json-ld.html.twig b/Resources/views/json-ld.html.twig index 668e99e..e9d998d 100644 --- a/Resources/views/json-ld.html.twig +++ b/Resources/views/json-ld.html.twig @@ -1,5 +1,5 @@ {% if wo_breadcrumbs()|length %} - {%- spaceless -%} + {% apply spaceless %} - {%- endspaceless -%} + {% endapply %} {% endif %} diff --git a/Resources/views/microdata.html.twig b/Resources/views/microdata.html.twig index ad70f60..8337b0c 100644 --- a/Resources/views/microdata.html.twig +++ b/Resources/views/microdata.html.twig @@ -1,5 +1,5 @@ {% if wo_breadcrumbs()|length %} - {%- spaceless -%} + {% apply spaceless %}
    {% for b in breadcrumbs %} @@ -20,5 +20,5 @@ {% endfor %}
- {%- endspaceless -%} + {% endapply %} {% endif %}