From e1b33bbdf7dbc5999fec3f4cb8be28547947be6d Mon Sep 17 00:00:00 2001 From: lauraeventwo Date: Mon, 13 Jan 2025 16:16:33 +0100 Subject: [PATCH] Remove spaceless from twig templates --- src/Resources/views/Form/ewz_recaptcha_widget.html.twig | 2 -- src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Resources/views/Form/ewz_recaptcha_widget.html.twig b/src/Resources/views/Form/ewz_recaptcha_widget.html.twig index b0dbd8d..e8d7aae 100644 --- a/src/Resources/views/Form/ewz_recaptcha_widget.html.twig +++ b/src/Resources/views/Form/ewz_recaptcha_widget.html.twig @@ -1,5 +1,4 @@ {% block ewz_recaptcha_widget %} -{% apply spaceless %} {% if form.vars.ewz_recaptcha_enabled %} {% if not form.vars.ewz_recaptcha_ajax %} {% if attr.options.size == 'invisible' and attr.options.callback is not defined %} @@ -79,6 +78,5 @@ {% endif %} {% endif %} -{% endapply %} {% endblock ewz_recaptcha_widget %} diff --git a/src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig b/src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig index 5adcfc2..96181f9 100644 --- a/src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig +++ b/src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig @@ -1,5 +1,4 @@ {% block ewz_recaptcha_widget %} -{% apply spaceless %} {% if form.vars.ewz_recaptcha_enabled %} @@ -25,5 +24,4 @@ }, false); {% endif %} -{% endapply %} {% endblock %}