Lines Matching refs:strategy
15 By default, it uses the HTML escaping strategy:
28 an optional argument which defines the escaping strategy to use:
61 for the HTML escaping strategy.
66 when the automatic escaping strategy is the same as the one applied by the
68 escaping strategy:
72 {% set strategy = 'html' %}
76 {{ var|escape(strategy) }} {# will be double-escaped #}
79 When using a variable as the escaping strategy, you should disable
84 {% set strategy = 'html' %}
87 {{ var|escape(strategy)|raw }} {# won't be double-escaped #}
116 * ``strategy``: The escaping strategy