{# assumptions: variable = "<b>foo</b>", global autoescape is off #} {{ variable }} {# => <b>foo</b> #} {% autoescape on %} {{ variable }} {# => <b>foo</b> #} {{ variable|safe }} {# => <b>foo</b> #} {% endautoescape %}