From bab940d1748027ff3978a3605b3e1a71f67a81f7 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 14 Feb 2017 21:08:34 +0100 Subject: Fix indentation for else clauses --- askama/src/generator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/askama/src/generator.rs b/askama/src/generator.rs index 3a427c7..875f195 100644 --- a/askama/src/generator.rs +++ b/askama/src/generator.rs @@ -181,7 +181,7 @@ impl<'a> Generator<'a> { } self.visit_expr(expr); }, - None => { self.writeln("} else"); }, + None => { self.write("} else"); }, } self.writeln(" {"); self.indent(); -- cgit