#125. 글을 입력시에 사용되는 removeHackTag() 함수에 제로보드XE 전용 태그 주석 제거 코드 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2419 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-29 08:28:28 +00:00
parent e7253581c2
commit 6d45e4c416

View file

@ -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;
}