diff --git a/core/modules/system/templates/dropbutton-wrapper.html.twig b/core/modules/system/templates/dropbutton-wrapper.html.twig index 358250a..ca0ff7e 100644 --- a/core/modules/system/templates/dropbutton-wrapper.html.twig +++ b/core/modules/system/templates/dropbutton-wrapper.html.twig @@ -12,7 +12,7 @@ * @ingroup themeable */ #} -{% if children is not empty %} +{% if children %} {% spaceless %}
diff --git a/core/themes/classy/templates/form/dropbutton-wrapper.html.twig b/core/themes/classy/templates/form/dropbutton-wrapper.html.twig index f162425..5dccc85 100644 --- a/core/themes/classy/templates/form/dropbutton-wrapper.html.twig +++ b/core/themes/classy/templates/form/dropbutton-wrapper.html.twig @@ -10,7 +10,7 @@ * @see template_preprocess_dropbutton_wrapper() */ #} -{% if children is not empty %} +{% if children %} {% spaceless %}