aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/doc/filters/raw.rst
blob: 434dd246fe5090388a45859416759662f31b3623 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
``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 %}