Skip to content
Snippets Groups Projects
Commit 396c5ea8 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #71 from greezybacon/issue/htmlawed-callback


Fix oops in htmLawd callback for HTML cleanup

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents ff2f9b20 3aef3562
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment