Remove versionadded in docs

This commit is contained in:
Fabien Potencier
2026-05-21 14:45:29 +02:00
parent b91dbaa1ba
commit 4eb02560ea
5 changed files with 0 additions and 20 deletions
-4
View File
@@ -219,10 +219,6 @@ the first argument to the filter call (or the second one if
Sandbox-aware Filters
~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 3.25
The ``needs_is_sandboxed`` option was added in Twig 3.25.
If you want to know whether the current template is sandboxed in your
filter, set the ``needs_is_sandboxed`` option to ``true``; Twig will pass the
current sandbox state as a boolean to the filter call (as the first
-4
View File
@@ -63,10 +63,6 @@ documents:
aware that in some processing contexts like XML, characters like the colon ``:``
may have meaning like for XML namespace separation.
.. versionadded:: 3.24
The ``html_attr_relaxed`` strategy has been added in 3.23.
Note that doing contextual escaping in HTML documents is hard and choosing the
right escaping strategy depends on a lot of factors. Please, read related
documentation like `the OWASP prevention cheat sheet
-4
View File
@@ -3,10 +3,6 @@
.. _html_attr_merge:
.. versionadded:: 3.24
The ``html_attr_merge`` filter was added in Twig 3.24.
The ``html_attr_merge`` filter merges multiple mappings that represent
HTML attribute values. Such mappings contain the names of the HTML attributes
as keys, and the corresponding values represent the attributes' values.
-4
View File
@@ -3,10 +3,6 @@
.. _html_attr_type:
.. versionadded:: 3.24
The ``html_attr_type`` filter was added in Twig 3.24.
The ``html_attr_type`` filter converts arrays into specialized attribute value
objects that implement custom rendering logic. It is designed for use
with the :ref:`html_attr` function for attributes where
-4
View File
@@ -3,10 +3,6 @@
.. _html_attr:
.. versionadded:: 3.24
The ``html_attr`` function was added in Twig 3.24.
The ``html_attr`` function renders HTML attributes from one or more mappings,
taking care of proper escaping. The mappings contain the names of HTML
attributes as keys, and the corresponding values represent the attributes'