commit b309fdae2b47e319b334f588f599c5b6e4e251f1 Author: Joel Pittet Date: Sun Mar 9 19:42:37 2014 -0700 whitespace modifiers diff --git a/core/modules/user/templates/username.html.twig b/core/modules/user/templates/username.html.twig index 240550e..6a8486b 100644 --- a/core/modules/user/templates/username.html.twig +++ b/core/modules/user/templates/username.html.twig @@ -18,13 +18,13 @@ * @ingroup themeable */ #} -{% if link_path %} +{% if link_path -%} {{ name }}{{ extra }} -{% else %} - {# +{%- else -%} + {#- Modules may have added important attributes so they must be included in the output. Additional classes may be added as array elements like {% set attributes.class = attributes.class|merge(["myclass"]) %} - #} + -#} {{ name }}{{ extra }} -{% endif %} +{%- endif -%}