2 "autoescape" tag does not apply escaping on literals
4 {% autoescape 'html' %}
9 2. Conditional expression with only literals
10 {{ true ? "<br />" : "<br>" }}
12 3. Conditional expression with a variable
13 {{ true ? "<br />" : someVar }}
15 4. Nested conditionals with only literals
16 {{ true ? (true ? "<br />" : "<br>") : "\n" }}
18 5. Nested conditionals with a variable
19 {{ true ? (true ? "<br />" : someVar) : "\n" }}
21 6. Nested conditionals with a variable marked safe
22 {{ true ? (true ? "<br />" : someVar|raw) : "\n" }}
32 2. Conditional expression with only literals
35 3. Conditional expression with a variable
38 4. Nested conditionals with only literals
41 5. Nested conditionals with a variable
44 6. Nested conditionals with a variable marked safe