aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-14 21:08:34 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-14 21:08:34 +0100
commitbab940d1748027ff3978a3605b3e1a71f67a81f7 (patch)
treeb97f679f2f228f3134364daa3554b7028f6e625b
parented0f9293e8a02a537624e5038540b2df653d63da (diff)
downloadaskama-bab940d1748027ff3978a3605b3e1a71f67a81f7.tar.gz
askama-bab940d1748027ff3978a3605b3e1a71f67a81f7.tar.bz2
askama-bab940d1748027ff3978a3605b3e1a71f67a81f7.zip
Fix indentation for else clauses
-rw-r--r--askama/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
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();