mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
13 lines
338 B
ReStructuredText
13 lines
338 B
ReStructuredText
``raw``
|
|
=======
|
|
|
|
The ``raw`` filter marks the value as being "safe", which means that in an
|
|
environment with automatic escaping enabled this variable will not be escaped
|
|
if ``raw`` is the last filter applied to it:
|
|
|
|
.. code-block:: jinja
|
|
|
|
{% autoescape true %}
|
|
{{ var|raw }} {# var won't be escaped #}
|
|
{% endautoescape %}
|