src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 05:46:56 +0000 (13:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 05:46:56 +0000 (13:46 +0800)
src/JsRender/NodeToVala.vala

index bb7ed27..d87a3e7 100644 (file)
@@ -804,7 +804,7 @@ public class JsRender.NodeToVala : Object {
                this.node.line_end = this.curline;
                        
                if (this.depth > 0) {
-                       this.ret+= this.inpad + "}\n";
+                       this.addLine(this.inpad + "}");
                }
                
                var iter = this.node.items.list_iterator();