From: Alan Knowles Date: Thu, 17 Nov 2011 09:37:54 +0000 (+0800) Subject: JsTemplate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=81cbd21fb2ce4177cc4dec15cc49b806f6d52698 JsTemplate.php --- diff --git a/JsTemplate.php b/JsTemplate.php index 44a1d1f7..268d01e3 100644 --- a/JsTemplate.php +++ b/JsTemplate.php @@ -132,6 +132,7 @@ class Pman_Core_JsTemplate extends Pman { $in = str_repeat(" ", $indent); $ret[] = $in . "}"; if ($fstart == $indent) { + $fstart = 0; $ret = &$out; } continue;