diff --git a/include/class.format.php b/include/class.format.php index a6dd026d1b40507a45353906620a212a747fcc10..d246948e578df85454d9d305352b842454c4855e 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -214,7 +214,7 @@ class Format { 'tidy' => -1, 'deny_attribute' => 'id', 'schemes' => 'href: aim, feed, file, ftp, gopher, http, https, irc, mailto, news, nntp, sftp, ssh, telnet; *:file, http, https; src: cid, http, https, data', - 'hook_tag' => array('Format', '__html_cleanup'), + 'hook_tag' => function($e, $a=0) { return Format::__html_cleanup($e, $a); }, ); return Format::html($html, $config);