mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
convertHTML() 로 변경
This commit is contained in:
parent
da0ad3bd39
commit
820c725d69
5 changed files with 44 additions and 80 deletions
|
|
@ -457,9 +457,9 @@ class documentController extends document
|
|||
// if use editor of nohtml, Remove HTML tags from the contents.
|
||||
if(!$manual_inserted)
|
||||
{
|
||||
$obj->content = $oDocumentModel->filterHtml($obj);
|
||||
$obj->content = getModel('editor')->convertHTML($obj);
|
||||
}
|
||||
|
||||
|
||||
// Remove iframe and script if not a top adminisrator in the session.
|
||||
if($logged_info->is_admin != 'Y') $obj->content = removeHackTag($obj->content);
|
||||
// An error appears if both log-in info and user name don't exist.
|
||||
|
|
@ -695,7 +695,7 @@ class documentController extends document
|
|||
// if use editor of nohtml, Remove HTML tags from the contents.
|
||||
if(!$manual_updated)
|
||||
{
|
||||
$obj->content = $oDocumentModel->filterHtml($obj);
|
||||
$obj->content = getModel('editor')->convertHTML($obj);
|
||||
}
|
||||
|
||||
// Change not extra vars but language code of the original document if document's lang_code is different from author's setting.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue