Merge branch '2.x' into 3.x

* 2.x:
  Fix: Add missing versionadded directive
This commit is contained in:
Fabien Potencier
2020-11-06 08:07:36 +01:00
+4
View File
@@ -1,6 +1,10 @@
``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: