diff options
-rw-r--r-- | mod/htmlawed/start.php | 3 |
1 files changed, 2 insertions, 1 deletions
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' ); |