aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askama/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama/src/parser.rs b/askama/src/parser.rs
index e29b460..3448330 100644
--- a/askama/src/parser.rs
+++ b/askama/src/parser.rs
@@ -133,7 +133,7 @@ named!(block_for<Node>, do_parse!(
tag_s!("%}") >>
(Node::Loop(var, iter, block))));
-named!(parse_template<Nodes>, many1!(alt!(
+named!(parse_template<Nodes>, many0!(alt!(
take_content |
expr_node |
block_if |