made a clarification to the doc

This commit is contained in:
Fabien Potencier
2010-11-07 22:18:41 +01:00
parent 7ea98b6c90
commit ad58f1e9a7
+1 -1
View File
@@ -351,7 +351,7 @@ Twig 0.9.9 and above):
{{ foo ? text|raw : "<br />Twig" }} {# won't be escaped #}
{% set text = "Twig<br />" %}
{{ foo ? text|escape : "<br />Twig" }} {# won't be escaped #}
{{ foo ? text|escape : "<br />Twig" }} {# the result of the expression won't be escaped #}
* Escaping is applied before printing, after any other filter is applied: