aboutsummaryrefslogtreecommitdiff
path: root/mod/htmlawed/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/htmlawed/start.php')
-rw-r--r--mod/htmlawed/start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/htmlawed/start.php b/mod/htmlawed/start.php
index 1b8351af2..c4dcb40e4 100644
--- a/mod/htmlawed/start.php
+++ b/mod/htmlawed/start.php
@@ -21,8 +21,9 @@
$CONFIG->htmlawed_config = array(
// seems to handle about everything we need.
'safe' => true,
- 'deny_attribute' => 'style',
- 'schemes' => '*:http,https,ftp,news,mailto,rtsp,teamspeak,gopher,mms,callto'
+ //'deny_attribute' => 'style',
+ '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'
);
register_plugin_hook('validate', 'input', 'htmlawed_filter_tags', 1);