minor #4342 Be more precise about double-escaping (fabpot)

This PR was merged into the 3.x branch.

Discussion
----------

Be more precise about double-escaping

Closes #3918

Commits
-------

fe3d615aa4 Be more precise about double-escaping
This commit is contained in:
Fabien Potencier
2024-09-26 12:52:31 +02:00
+2 -1
View File
@@ -41,7 +41,8 @@ Functions returning template data (like :doc:`macros<macro>` and
.. note::
Twig is smart enough to not escape an already escaped value by the
:doc:`escape<../filters/escape>` filter.
:doc:`escape<../filters/escape>` filter when the automatic escaping
strategy is the same as the one applied by the escape filter.
.. note::