projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
588d9f6
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:51:47 +0000
(17:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:51:47 +0000
(17:51 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
8ab063f
..
09a86ba
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-94,7
+94,7
@@
class Pman_Core_JsTemplate extends Pman {
$contents = file_get_contents($fn);
$contents = file_get_contents($fn);
- $ar = preg_split('/(\{[^\}]+})/', $contents, -1, PREG_SPLIT_DELIM_CAPTURE);
+ $ar = preg_split('/(\{[^\
\n
}]+})/', $contents, -1, PREG_SPLIT_DELIM_CAPTURE);