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: