converter() 로 변경 및 개선

This commit is contained in:
conory 2017-07-14 16:17:26 +09:00
parent 146975f277
commit 35646700fe
6 changed files with 63 additions and 37 deletions

View file

@ -457,7 +457,7 @@ class documentController extends document
// if use editor of nohtml, Remove HTML tags from the contents.
if(!$manual_inserted)
{
$obj->content = getModel('editor')->convertHTML($obj);
$obj->content = getModel('editor')->converter($obj, 'document');
}
// Remove iframe and script if not a top adminisrator in the session.
@ -695,7 +695,7 @@ class documentController extends document
// if use editor of nohtml, Remove HTML tags from the contents.
if(!$manual_updated)
{
$obj->content = getModel('editor')->convertHTML($obj);
$obj->content = getModel('editor')->converter($obj, 'document');
}
// Change not extra vars but language code of the original document if document's lang_code is different from author's setting.