From 5a94ddc76ee1f6d86e546feb98ee0d0ea5f4f2b1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 14 Sep 2024 10:56:07 +0200 Subject: [PATCH] Suggest wording --- doc/filters/spaceless.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters/spaceless.rst b/doc/filters/spaceless.rst index 0300faf69..7fab7fb26 100644 --- a/doc/filters/spaceless.rst +++ b/doc/filters/spaceless.rst @@ -3,8 +3,8 @@ .. warning:: - The ``spaceless`` filter is deprecated as of Twig 3.12. Instead, use the - :ref:`whitespace control features `. + The ``spaceless`` filter is deprecated as of Twig 3.12. While not a full + replacement, you can check the :ref:`whitespace control features `. Use the ``spaceless`` filter to remove whitespace *between HTML tags*, not whitespace within HTML tags or whitespace in plain text: