mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
text 컨버터에 trim 공백 정리 과정 추가
This commit is contained in:
parent
827be8a286
commit
0437b3797a
2 changed files with 2 additions and 2 deletions
|
|
@ -937,7 +937,7 @@ class editorModel extends editor
|
|||
// To Text
|
||||
if ($converter == 'text')
|
||||
{
|
||||
$obj->content = escape(strip_tags($obj->content), false);
|
||||
$obj->content = escape(utf8_trim(strip_tags($obj->content)), false);
|
||||
}
|
||||
|
||||
// To HTML
|
||||
|
|
|
|||
|
|
@ -1618,7 +1618,7 @@ class memberController extends member
|
|||
*/
|
||||
function putSignature($member_srl, $signature)
|
||||
{
|
||||
if((!$signature = trim(removeHackTag($signature))) || is_empty_html_content($signature))
|
||||
if((!$signature = utf8_trim(removeHackTag($signature))) || is_empty_html_content($signature))
|
||||
{
|
||||
getController('member')->delSignature($member_srl);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue