From 357c6be0dd5f2fd7f90ea8376aefb8c83029a110 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 7 Jul 2009 22:13:13 +0000 Subject: Closes #956: Classes are removed by the HTML filter. git-svn-id: https://code.elgg.org/elgg/trunk@3396 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/htmlawed/start.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/htmlawed') 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' ); -- cgit v1.2.3