mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 03:16:34 +00:00
made a clarification to the doc
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user