nunjucks v2.3.0 Release Notes
Release Date: 2016-01-06 // about 8 years ago-
Return
null
fromWebLoader
on missing template instead of throwing an error, for consistency with other loaders. This allowsWebLoader
to support the newignore missing
flag on theinclude
tag. Ifignore missing
is not set, a generic "template not found" error will still be thrown, just like for any other loader. Ajax errors other than 404 will still causeWebLoader
to throw an error directly.➕ Add preserve-linebreaks option to
striptags
filter. Thanks Ivan Kleshnin. Merge of #619.