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: