Open beeing opened 2 years ago
Hi, I'm trying to add the JinjaCompat but after running this, the other custom filters I added previously was not working anymore.
nunjucksEnvironment.addFilter('myfilter', function (arr) { console.log(arr) return arr })
The above will return undefined after calling installJinjaCompat but arr was the array value before that.
arr
Is this something that is expected or the JinjaCompat should only add extra functionalities to Nunjucks?
Thanks!
Can you create repo with this error?
Hi, I'm trying to add the JinjaCompat but after running this, the other custom filters I added previously was not working anymore.
The above will return undefined after calling installJinjaCompat but
arr
was the array value before that.Is this something that is expected or the JinjaCompat should only add extra functionalities to Nunjucks?
Thanks!