diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-04-21 15:45:29 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-04-26 10:15:34 +0200 |
commit | 409e913f34253bfae9d841e150f8013bc15844dc (patch) | |
tree | 974024a133ccd3590413ee2fcc1f82b95423472e /askama_shared/src/parser.rs | |
parent | e54039162ab71e74345055f5000b2689627e8f03 (diff) | |
download | askama-409e913f34253bfae9d841e150f8013bc15844dc.tar.gz askama-409e913f34253bfae9d841e150f8013bc15844dc.tar.bz2 askama-409e913f34253bfae9d841e150f8013bc15844dc.zip |
Add WhitespaceHandling::Minimize
Diffstat (limited to 'askama_shared/src/parser.rs')
-rw-r--r-- | askama_shared/src/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index d7e33fb..2289e09 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -1447,12 +1447,12 @@ mod tests { #[test] fn change_delimiters_parse_filter() { let syntax = Syntax { - expr_start: "{~", - expr_end: "~}", + expr_start: "{=", + expr_end: "=}", ..Syntax::default() }; - super::parse("{~ strvar|e ~}", &syntax).unwrap(); + super::parse("{= strvar|e =}", &syntax).unwrap(); } #[test] |