minor #3436 Fix: Add missing versionadded directive (OskarStark)

This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.

Discussion
----------

Fix: Add missing versionadded directive

mentioned by @stof in https://github.com/twigphp/Twig/pull/3434/files/5ceda707edeabd9e1462c43f199aa61606a29ff9#diff-cb39a2af448a7ea26e78809ebffa995c051f742afdb1f6d3e68ab85b09b801b8

Commits
-------

965ba57d Fix: Add missing versionadded directive
This commit is contained in:
Fabien Potencier
2020-11-06 08:07:20 +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: