{% autoescape true %} {{ var }} {{ var|raw }} {# var won't be escaped #} {{ var|escape }} {# var won't be doubled-escaped #} {% endautoescape %} {{ include('twig.html', sandboxed = true) }} {{"string #{with} \" escapes" 'another#one' }}