Lines Matching refs:escaped
384 If set to ``html``, all variables in templates are escaped (using the ``html``
399 {{ var|raw }} {# var won't be escaped #}
400 {{ var|escape }} {# var won't be double-escaped #}
410 variables or filter arguments are never automatically escaped:
414 {{ "Twig<br />" }} {# won't be escaped #}
417 {{ text }} {# will be escaped #}
420 are never automatically escaped:
424 {{ foo ? "Twig<br />" : "<br />Twig" }} {# won't be escaped #}
427 {{ foo ? text : "<br />Twig" }} {# will be escaped #}
430 {{ foo ? text|raw : "<br />Twig" }} {# won't be escaped #}
433 {{ foo ? text|escape : "<br />Twig" }} {# the result of the expression won't be escaped #}
445 {{ var|raw|upper }} {# will be escaped #}
447 {{ var|upper|raw }} {# won't be escaped #}
457 {{ var|escape('html') }} {# will be escaped for HTML and JavaScript #}
458 {{ var }} {# will be escaped for JavaScript #}
459 {{ var|escape('js') }} {# won't be double-escaped #}