From cb245a3ecb0dbefc8ca5bd19e52ec3f69aa1bf56 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 14 May 2018 20:32:21 +0200 Subject: Fix copy/paste error in whitespace handling --- askama_derive/src/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_derive/src/parser.rs') 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, 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, do_parse!( @@ -578,7 +578,7 @@ named!(block_block, 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, do_parse!( -- cgit