mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Revert "#847 모바일(또는 textarea형)에서 댓글 수정시 줄바꿈 유지되도록 수정"
This commit is contained in:
parent
fa0f15ad1a
commit
9a3eab0bda
1 changed files with 0 additions and 9 deletions
|
|
@ -711,15 +711,6 @@ class commentController extends comment
|
||||||
// remove XE's wn tags from contents
|
// remove XE's wn tags from contents
|
||||||
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
||||||
|
|
||||||
if(Mobile::isFromMobilePhone())
|
|
||||||
{
|
|
||||||
if($obj->use_html != 'Y')
|
|
||||||
{
|
|
||||||
$obj->content = htmlspecialchars($obj->content, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
|
||||||
}
|
|
||||||
$obj->content = nl2br($obj->content);
|
|
||||||
}
|
|
||||||
|
|
||||||
// remove iframe and script if not a top administrator on the session
|
// remove iframe and script if not a top administrator on the session
|
||||||
if($logged_info->is_admin != 'Y')
|
if($logged_info->is_admin != 'Y')
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue