mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 15:32:15 +09:00
issue 2212 remove htmlspeicailchars in mobile mode.
because, hack tag check in next flow. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11077 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
81755cec4b
commit
d48ad655b9
2 changed files with 2 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ class documentController extends document {
|
|||
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
||||
if(Mobile::isFromMobilePhone())
|
||||
{
|
||||
$obj->content = nl2br(htmlspecialchars($obj->content));
|
||||
$obj->content = nl2br($obj->content);
|
||||
}
|
||||
// Remove iframe and script if not a top adminisrator in the session.
|
||||
if($logged_info->is_admin != 'Y') $obj->content = removeHackTag($obj->content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue