]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Closes #956: Classes are removed by the HTML filter.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 7 Jul 2009 22:13:13 +0000 (22:13 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 7 Jul 2009 22:13:13 +0000 (22:13 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3396 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/htmlawed/start.php

index c4dcb40e4ca4a8139bb54d630f12732bd633c993..50385d3751375c056a00b3206f79379f95b75fc3 100644 (file)
@@ -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'
                );