aboutsummaryrefslogtreecommitdiff
path: root/mod/htmlawed/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-07 22:13:13 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-07 22:13:13 +0000
commit357c6be0dd5f2fd7f90ea8376aefb8c83029a110 (patch)
tree1431988e303c3cb59eaf2da78a2f3922f87b2629 /mod/htmlawed/start.php
parenteca0feb9a0380fb1e700af0d183f295fef55a05b (diff)
downloadelgg-357c6be0dd5f2fd7f90ea8376aefb8c83029a110.tar.gz
elgg-357c6be0dd5f2fd7f90ea8376aefb8c83029a110.tar.bz2
Closes #956: Classes are removed by the HTML filter.
git-svn-id: https://code.elgg.org/elgg/trunk@3396 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/htmlawed/start.php')
-rw-r--r--mod/htmlawed/start.php3
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'
);