mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-01 16:45:50 +00:00
8d86ddeb1a
* 2.x: fixed doc format tweaked doc markup tweaked escape docs
13 lines
332 B
ReStructuredText
13 lines
332 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:: twig
|
|
|
|
{% autoescape %}
|
|
{{ var|raw }} {# var won't be escaped #}
|
|
{% endautoescape %}
|