projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3971b8e
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:45:08 +0000
(17:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:45:08 +0000
(17:45 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
a1826bd
..
b720d0e
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-122,7
+122,10
@@
class Pman_Core_JsTemplate extends Pman {
if ($inscript && ($item != '{end:}')) {
$ret[] = $item;
}
-
+ if ($inscript && ($item == '{end:}')) {
+ $inscript = false;
+
+ }
case ($item[0] != '{'):
if (!strlen(trim($item))) {
continue;