Be more precise about double-escaping

This commit is contained in:
Fabien Potencier
2024-09-26 08:58:21 +02:00
parent bb30a7ba26
commit fe3d615aa4
+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::