mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
#125. 글을 입력시에 사용되는 removeHackTag() 함수에 제로보드XE 전용 태그 주석 제거 코드 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2419 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e7253581c2
commit
6d45e4c416
1 changed files with 4 additions and 0 deletions
|
|
@ -357,6 +357,10 @@
|
|||
|
||||
// script code 제거
|
||||
$content = preg_replace("!<script(.*?)<\/script>!is","",$content);
|
||||
|
||||
// 제로보드XE전용 주석 태그를 본문에서 제거
|
||||
$content = preg_replace('!<\!--(Before|After)Document\(([0-9]+),([0-9]+)\)-->!is', '', $content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue