Open catlips opened 8 years ago
So Nunjucks automatically escapes all text passed to it in brackets. There's an option to turn off autoescaping but I'm having trouble getting it to take. I'll leave this open and come back to it but for now the workaround is to filter any text that may contain html with the safe filter.
<p>{{ text | safe }}</p>
They get passed as literals.