Marks a section of a template to be escaped or not.
{% autoescape true %} Everything will be automatically escaped in this block {% endautoescape %}
{% autoescape false %} Everything will be outputed as is in this block {% endautoescape %}
{% autoescape true js %} Everything will be automatically escaped in this block using the js escaping strategy {% endautoescape %}
final | |
---|---|
package | Default |
decideBlockEnd(\Twig\Token $token)
\Twig\Token
getTag()
parse(\Twig\Token $token)
\Twig\Token
setParser(\Twig\Parser $parser)