mozilla / nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
https://mozilla.github.io/nunjucks/
BSD 2-Clause "Simplified" License
8.48k stars 635 forks source link

safe filter still encodes quotes #1398

Open barrymieny opened 2 years ago

barrymieny commented 2 years ago

I use nunjucks (3.2.3) in eleventy to generate an iCalendar file, but it refuses to not encode quotes to ' and " respectively even when I use the safe filter.

Is there something I'm missing, or something I can set, or another filter I can use to force it to really render just the raw string?

I have tried this in eleventy and with just nunjucks and the result was the same.