diff options
-rw-r--r-- | askama_derive/src/generator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index bc24c06..ad002d1 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -565,7 +565,7 @@ impl<'a> Generator<'a> { self.buf.write(name); } } - self.buf.write(&format!(" = {};", &buf.buf)); + self.buf.writeln(&format!(" = {};", &buf.buf)); } fn write_block(&mut self, ws1: WS, name: &str, ws2: WS) { |