mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 04:27:00 +00:00
Remove versionadded in docs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user