diff --git a/lib/common.lib.php b/lib/common.lib.php index 4b8e0d4cc..3b4cb1362 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2615,4 +2615,13 @@ function conv_date_format($format, $date, $add='') return date($format, $timestamp); } + +// unescape nl 얻기 +function conv_unescape_nl($str) +{ + $search = array('\\r', '\\n', '\r'); + $replace = array('', '\n', ''); + + return str_replace($search, $replace, $str); +} ?> \ No newline at end of file