mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -262,7 +262,12 @@
|
|||
if($c<128) {
|
||||
$char_width += (int)$chars[$c-32];
|
||||
$idx++;
|
||||
} else {
|
||||
}
|
||||
else if (191<$c && $c < 224) {
|
||||
$char_width += $chars[4];
|
||||
$idx += 2;
|
||||
}
|
||||
else {
|
||||
$char_width += $chars[0];
|
||||
$idx += 3;
|
||||
}
|
||||
|
|
@ -533,6 +538,9 @@
|
|||
if(preg_match('/(src|href|lowsrc|dynsrc)=("|\'?)([\r\n]*)(vbscript|javascript)/is', $matches[2])) {
|
||||
$attrs = preg_replace('/(src|href|lowsrc|dynsrc)=("|\'?)([\r\n]*)(vbscript|javascript)/is','$1=$2_$4', $attrs);
|
||||
}
|
||||
if(preg_match('/(url)[ \n]*\(("|\'?)([\r\n]*)(vbscript|javascript)/is', $matches[2])) {
|
||||
$attrs = preg_replace('/(url)[ \n]*\(("|\'?)([\r\n]*)(vbscript|javascript)/is','$1($2_$4', $attrs);
|
||||
}
|
||||
|
||||
// 이벤트 제거
|
||||
// 전제 : 1. 이벤트명 앞에는 개행(r, n, rn)문자와 공백 문자만 올 수 있음
|
||||
|
|
@ -725,4 +733,4 @@
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue