Closed cesarvarela closed 6 years ago
I don't think this autoescape
seems to work
.pipe(nunjucksRender({
path:'src/templates'
envOptions: {autoescape: false},
}))
this is closer to readme instruction but still doesn't work.
or even in file template {{ message | safe}}
Hope there is a reply on this.
envOptions: {autoescape: false}
works for me. Thanks!
As @sebudde mentioned, the autoescape
has to be set customising the environment options, not passing in the options object. This issue can be closed.
tried
but didn't work