This commit is contained in:
Fabien Potencier
2020-11-06 08:07:52 +01:00
parent 1a8dd9ef53
commit d3eaaccc0d
-4
View File
@@ -1,10 +1,6 @@
``spaceless``
=============
.. versionadded:: 2.7
The ``spaceless`` filter was added in Twig 2.7.
Use the ``spaceless`` filter to remove whitespace *between HTML tags*, not
whitespace within HTML tags or whitespace in plain text: