You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Nunjucks files we automagically quote the keys of dictionaries, because if Jinja sees a dictionary with unquoted keys it silently ignores the values; see lines 29 to 32 in njk_to_j2().
It would be nice if we could catch this error in non-Nunjucks templates, as it is quite a common mistake when copying code from examples for Nunjucks.
The text was updated successfully, but these errors were encountered:
In Nunjucks files we automagically quote the keys of dictionaries, because if Jinja sees a dictionary with unquoted keys it silently ignores the values; see lines 29 to 32 in
njk_to_j2()
.It would be nice if we could catch this error in non-Nunjucks templates, as it is quite a common mistake when copying code from examples for Nunjucks.
The text was updated successfully, but these errors were encountered: