mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
issue 2516, fixed a bug that does not modify some layout html
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11459 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a41334388a
commit
57c915eae9
1 changed files with 3 additions and 3 deletions
|
|
@ -847,9 +847,9 @@ class Context {
|
|||
|
||||
if($set_to_vars)
|
||||
{
|
||||
$val = preg_replace('/<\?.*(\?>)?/iUsm', '', $val);
|
||||
$val = preg_replace('/<\%.*(\%>)?/iUsm', '', $val);
|
||||
$val = preg_replace('/<script(\s|\S)*language[\s]*=("|\')php("|\')(\s|\S)*>.*<[\s]*\/[\s]*script[\s]*>/iUsm', '', $val);
|
||||
$val = preg_replace('/<\?/i', '', $val);
|
||||
$val = preg_replace('/<\%/i', '', $val);
|
||||
$val = preg_replace('/<script\s+language\s*=\s*("|\')php("|\')\s*>/ism', '', $val);
|
||||
}
|
||||
|
||||
$this->set($key, $val, $set_to_vars);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue