only in patch2: unchanged: --- a/core/themes/classy/templates/navigation/links.html.twig +++ b/core/themes/classy/templates/navigation/links.html.twig @@ -34,25 +34,25 @@ * @see template_preprocess_links() */ #} -{% if links -%} - {%- if heading -%} - {%- if heading.level -%} +{% if links %} + {% if heading %} + {% if heading.level %} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }}{{ heading.level }}> - {%- else -%} + {% else %}