mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
converter() 로 변경 및 개선
This commit is contained in:
parent
146975f277
commit
35646700fe
6 changed files with 63 additions and 37 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue