Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame^] | 1 | ``raw`` |
2 | ======= | ||||
3 | |||||
4 | The ``raw`` filter marks the value as being "safe", which means that in an | ||||
5 | environment with automatic escaping enabled this variable will not be escaped | ||||
6 | if ``raw`` is the last filter applied to it: | ||||
7 | |||||
8 | .. code-block:: twig | ||||
9 | |||||
10 | {% autoescape %} | ||||
11 | {{ var|raw }} {# var won't be escaped #} | ||||
12 | {% endautoescape %} |