aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs
index d15fc1a..ef76462 100644
--- a/askama_derive/src/parser.rs
+++ b/askama_derive/src/parser.rs
@@ -555,7 +555,7 @@ named!(block_for<Node>, do_parse!(
nws2: opt!(tag_s!("-")) >>
(Node::Loop(WS(pws1.is_some(), nws1.is_some()),
var, iter, block,
- WS(pws2.is_some(), pws2.is_some())))
+ WS(pws2.is_some(), nws2.is_some())))
));
named!(block_extends<Node>, do_parse!(
@@ -578,7 +578,7 @@ named!(block_block<Node>, do_parse!(
nws2: opt!(tag_s!("-")) >>
(Node::BlockDef(WS(pws1.is_some(), nws1.is_some()),
name, contents,
- WS(pws2.is_some(), pws2.is_some())))
+ WS(pws2.is_some(), nws2.is_some())))
));
named!(block_include<Node>, do_parse!(