From ad58f1e9a7f87f68f76ca4c5b59e1d2edddc6f8a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 7 Nov 2010 22:18:41 +0100 Subject: [PATCH] made a clarification to the doc --- doc/03-Twig-for-Developers.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/03-Twig-for-Developers.markdown b/doc/03-Twig-for-Developers.markdown index 7867abcf6..2d825fd7b 100644 --- a/doc/03-Twig-for-Developers.markdown +++ b/doc/03-Twig-for-Developers.markdown @@ -351,7 +351,7 @@ Twig 0.9.9 and above): {{ foo ? text|raw : "
Twig" }} {# won't be escaped #} {% set text = "Twig
" %} - {{ foo ? text|escape : "
Twig" }} {# won't be escaped #} + {{ foo ? text|escape : "
Twig" }} {# the result of the expression won't be escaped #} * Escaping is applied before printing, after any other filter is applied: