aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-06-23 18:16:21 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-06-23 18:16:21 +0200
commit6eb8e4f65c159204413b294a6b47007847ad1577 (patch)
treefbd28791df610cbb22423831d0872bc36f682187
parentc52ea242dc1ba6edad69c10c7923ab0806617976 (diff)
downloadaskama-6eb8e4f65c159204413b294a6b47007847ad1577.tar.gz
askama-6eb8e4f65c159204413b294a6b47007847ad1577.tar.bz2
askama-6eb8e4f65c159204413b294a6b47007847ad1577.zip
Allow accidentally disabled join filter
-rw-r--r--askama_shared/src/filters/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/askama_shared/src/filters/mod.rs b/askama_shared/src/filters/mod.rs
index 9fc03b6..c9c6bdf 100644
--- a/askama_shared/src/filters/mod.rs
+++ b/askama_shared/src/filters/mod.rs
@@ -18,10 +18,11 @@ use escaping::{self, MarkupDisplay};
// Askama or should refer to a local `filters` module. It should contain all the
// filters shipped with Askama, even the optional ones (since optional inclusion
// in the const vector based on features seems impossible right now).
-pub const BUILT_IN_FILTERS: [&str; 10] = [
+pub const BUILT_IN_FILTERS: [&str; 11] = [
"e",
"escape",
"format",
+ "join",
"lower",
"lowercase",
"safe",