tbtimes / ledeTwo

A sweet tool to make cool web things ~~ motto pending
MIT License
2 stars 0 forks source link

Can't use HTML entities in AML doc #9

Open catlips opened 8 years ago

catlips commented 8 years ago

They get passed as literals.

ejmurra commented 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>