Closed estahn closed 4 years ago
The way around this behaviour is by using autoescape function:
{% autoescape off %}
{{ TEST }}
{% endautoescape %}
Thanks to https://github.com/flosch/pongo2/issues/129#issuecomment-221346740
Would like to add, that It would be really great to have auto-escaping to be off by default. Will help in cases where pongo2 is being used as a near drop-in replacement of Django/Jinja.
my.template
Command:
Returns:
Expected: