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