made a clarification to the doc
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Nov 2010 21:18:41 +0000 (22:18 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Nov 2010 21:18:41 +0000 (22:18 +0100)
doc/03-Twig-for-Developers.markdown

index 7867abc..2d825fd 100644 (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: