사용자 코드 체크 및 정리

This commit is contained in:
chicpro
2014-03-26 17:14:30 +09:00
parent e61c402067
commit 1c9f0f6018
19 changed files with 65 additions and 51 deletions

View File

@ -28,7 +28,7 @@ for ($i=1; $i<=$attach; $i++) {
$content = stripslashes($content);
if ($type == 2) {
$type = 1;
$content = preg_replace("/\n/", "<br>", $content);
$content = str_replace("\n", "<br>", $content);
}
// html 이면