add more modes

This commit is contained in:
nightwing 2013-05-24 23:16:25 +04:00
commit 82ee67d49b
10 changed files with 545 additions and 64 deletions

View file

@ -0,0 +1,9 @@
{% 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' }}