Files
Twig/doc/filters/raw.rst
T
2011-09-27 08:43:35 +02:00

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 %}