vitkarpov / grunt-nunjucks-2-html

Compiles nunjucks templates *right* into HTML
MIT License
35 stars 11 forks source link

Configurable autoescaping #31

Closed ArmorDarks closed 9 years ago

ArmorDarks commented 9 years ago

In Nunjucks 2.0 autoescaping is on by default.

Some like it hot to be switched off.

Not sure about typeof check in that PR... maybe you have better ideas.

Thanks

ArmorDarks commented 9 years ago

I think it should be ok after all, unless you want to enforce specific behavior of autoescaping by default

ArmorDarks commented 9 years ago

Must be dropped in favor of https://github.com/vitkarpov/grunt-nunjucks-2-html/pull/33, which already includes those changes

vitkarpov commented 9 years ago

I think it should be closed due to #33