Do not, at comment either.

This commit is contained in:
MinSoo Kim 2015-06-08 15:47:59 +09:00
parent 5d9c6a1e6d
commit 38ee73a9e2

View file

@ -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')
{