diff --git a/core/modules/system/templates/html-tag.html.twig b/core/modules/system/templates/html-tag.html.twig index b736288..3b1d596 100644 --- a/core/modules/system/templates/html-tag.html.twig +++ b/core/modules/system/templates/html-tag.html.twig @@ -21,23 +21,16 @@ */ @todo Delete this file once http://drupal.org/node/1825090 is resolved. #} -{% spaceless %} - {% if value is defined %} - <{{ tag }}{{ attributes }}> - {% if value_prefix is defined %} - {{ value_prefix }} - {% endif %} - {{ value }} - {% if value_suffix is defined %} - {{ value_suffix }} - {% endif %} - - {% else %} - <{{ tag }}{{ attributes }} /> - {% endif %} -{% endspaceless %} - -{# - The previous line has been intentionally left blank so that each HTML tag is - printed on its own line. -#} +{% if value is defined -%} + <{{ tag }}{{ attributes }}> + {%- if value_prefix is defined -%} + {{- value_prefix -}} + {%- endif -%} + {{- value -}} + {%- if value_suffix is defined -%} + {{- value_suffix -}} + {%- endif -%} + +{% else -%} + <{{ tag }}{{ attributes }} /> +{% endif %}