내용관리 html_purifier 사용 선택할 수 있는 설정 추가

This commit is contained in:
chicpro committed 2014-03-28 16:11:41 +09:00
1 parent 5ce0ad1221
commit 83fe14288a
6 files changed
+103 -11

No files matched your search

+4 -2
View File
@@ -510,7 +510,7 @@ function conv_subject($subject, $len, $suffix='')
}
// 내용을 변환
function conv_content($content, $html)
function conv_content($content, $html, $filter=true)
{
global $config, $board;
@@ -536,7 +536,9 @@ function conv_content($content, $html)
}
$content = preg_replace($source, $target, $content);
$content = html_purifier($content);
if($filter)
$content = html_purifier($content);
}
else // text 이면
{