mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Issue 2157 remove 'space removing' syntax.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3@10917 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e6302c8c9e
commit
9892444c15
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class TemplateHandler {
|
||||||
$buff = '<?php if(!defined("__XE__"))exit;?>'.$buff;
|
$buff = '<?php if(!defined("__XE__"))exit;?>'.$buff;
|
||||||
|
|
||||||
// remove php script reopening
|
// remove php script reopening
|
||||||
$buff = preg_replace(array('/(\n|\r\n)+/','/(;)?( )*\?\>([\n\t]+)?\<\?php([\n\t ]+)?/'),array("\n",";\n"),$buff);
|
$buff = preg_replace(array('/(\n|\r\n)+/','/(;)?( )*\?\>\<\?php([\n\t ]+)?/'),array("\n",";\n"),$buff);
|
||||||
|
|
||||||
return $buff;
|
return $buff;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue