From: brettp Date: Tue, 7 Jul 2009 22:13:13 +0000 (+0000) Subject: Closes #956: Classes are removed by the HTML filter. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=357c6be0dd5f2fd7f90ea8376aefb8c83029a110;p=lorea%2Felgg.git Closes #956: Classes are removed by the HTML filter. git-svn-id: https://code.elgg.org/elgg/trunk@3396 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/mod/htmlawed/start.php b/mod/htmlawed/start.php index c4dcb40e4..50385d375 100644 --- a/mod/htmlawed/start.php +++ b/mod/htmlawed/start.php @@ -21,7 +21,8 @@ $CONFIG->htmlawed_config = array( // seems to handle about everything we need. 'safe' => true, - //'deny_attribute' => 'style', + 'deny_attribute' => 'class', + 'schemes' => '*: http,https,ftp,news,mailto,rtsp,teamspeak,gopher,mms,callto;' . 'style: color,cursor,text-align,font-size,font-weight,font-style,border,margin,padding,float' );