From 38ee73a9e2af7482d9157b520b84a8c87c1e7d87 Mon Sep 17 00:00:00 2001 From: MinSoo Kim Date: Mon, 8 Jun 2015 15:47:59 +0900 Subject: [PATCH] Do not, at comment either. --- modules/comment/comment.controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index bed4696d9..17b264d6b 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -318,7 +318,7 @@ class commentController extends comment // remove XE's own tags from the contents $obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content); - if(Mobile::isFromMobilePhone()) + if(Mobile::isFromMobilePhone() && !$manual_inserted) { if($obj->use_html != 'Y') { @@ -721,7 +721,7 @@ class commentController extends comment // remove XE's wn tags from contents $obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content); - if(Mobile::isFromMobilePhone()) + if(Mobile::isFromMobilePhone() && !$manual_inserted) { if($obj->use_html != 'Y') {