mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
일반 사용자의 style 태그 사용 금지하도록 금지 태그에 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3301 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1cd5f40274
commit
103b9d3ac9
1 changed files with 3 additions and 0 deletions
|
|
@ -411,6 +411,9 @@
|
|||
// meta 태그 제거
|
||||
$content = preg_replace("!<meta(.*?)>!is","",$content);
|
||||
|
||||
// style 태그 제거
|
||||
$content = preg_replace("!<style(.*?)<\/style>!is","",$content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue