From: Fabien Potencier Date: Sun, 7 Nov 2010 21:18:41 +0000 (+0100) Subject: made a clarification to the doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=ad58f1e9a7f87f68f76ca4c5b59e1d2edddc6f8a;p=web%2Fkonrad%2Ftwig.git made a clarification to the doc --- diff --git a/doc/03-Twig-for-Developers.markdown b/doc/03-Twig-for-Developers.markdown index 7867abc..2d825fd 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: