aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();