mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 2157 space removing fix.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3@10913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
57c3aa5d9d
commit
1830ff3d0d
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class TemplateHandler {
|
|||
$buff = '<?php if(!defined("__XE__"))exit;?>'.$buff;
|
||||
|
||||
// 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)+/','/(;)?( )*\?\>([\n\t]+)?\<\?php([\n\t ]+)?/'),array("\n",";\n"),$buff);
|
||||
|
||||
return $buff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue