mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
converter() 로 변경 및 개선
This commit is contained in:
parent
146975f277
commit
35646700fe
6 changed files with 63 additions and 37 deletions
|
|
@ -438,7 +438,7 @@ class commentController extends comment
|
|||
// 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, 'comment');
|
||||
}
|
||||
|
||||
if(!$obj->regdate)
|
||||
|
|
@ -788,7 +788,7 @@ class commentController extends comment
|
|||
// 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, 'comment');
|
||||
}
|
||||
|
||||
// remove iframe and script if not a top administrator on the session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue