aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared/src')
-rw-r--r--askama_shared/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs
index eff1779..5bdcb9b 100644
--- a/askama_shared/src/parser.rs
+++ b/askama_shared/src/parser.rs
@@ -146,7 +146,7 @@ named!(expr_array_lit<Expr>, do_parse!(
));
named!(expr_str_lit<Expr>, map!(
- delimited!(char!('"'), is_not!("\""), char!('"')),
+ delimited!(char!('"'), take_until!("\""), char!('"')),
|s| Expr::StrLit(str::from_utf8(s).unwrap())
));