fixed docs

This commit is contained in:
Fabien Potencier
2019-04-24 19:38:21 +02:00
parent d7714a6b15
commit 5dc4f198b2
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -400,7 +400,7 @@ Most of the time though, a tag is not needed:
.. note::
The ``apply`` tag was introduced in Twig 1.40; use the ``filter`` tag with
The ``apply`` tag was introduced in Twig 2.9; use the ``filter`` tag with
previous versions.
* If your tag does not output anything, but only exists because of a side
+1 -1
View File
@@ -33,7 +33,7 @@ on large amounts of HTML:
.. note::
The ``apply`` tag was introduced in Twig 1.40; use the ``filter`` tag with
The ``apply`` tag was introduced in Twig 2.9; use the ``filter`` tag with
previous versions.
This tag is not meant to "optimize" the size of the generated HTML content but
+2 -2
View File
@@ -1,8 +1,8 @@
``apply``
=========
.. versionadded:: 1.40
The ``apply`` tag was added in Twig 1.40.
.. versionadded:: 2.9
The ``apply`` tag was added in Twig 2.9.
The ``apply`` tag allows you to apply Twig filters on a block of template data:
+1 -1
View File
@@ -3,7 +3,7 @@
.. note::
As of Twig 1.40, you should use the ``apply`` tag instead which does the
As of Twig 2.9, you should use the ``apply`` tag instead which does the
same thing except that the wrapped template data is not scoped.
Filter sections allow you to apply regular Twig filters on a block of template
+2 -2
View File
@@ -181,7 +181,7 @@ filters.
.. note::
The ``apply`` tag was introduced in Twig 1.40; use the ``filter`` tag with
The ``apply`` tag was introduced in Twig 2.9; use the ``filter`` tag with
previous versions.
Functions
@@ -891,7 +891,7 @@ the modifiers on one side of a tag or on both sides:
.. note::
The ``apply`` tag was introduced in Twig 1.40; use the ``filter`` tag with
The ``apply`` tag was introduced in Twig 2.9; use the ``filter`` tag with
previous versions.
Extensions