diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-03 16:05:30 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-03 16:05:30 +0000 |
commit | 2254dc67640ad54672bac3f2992221a9c433d117 (patch) | |
tree | c423d5c2bb1eac34c0f640c25583b568854efea5 /mod/htmlawed/start.php | |
parent | f0b7a73b5a9fea9077611e0df503dfd06c414d5b (diff) | |
download | elgg-2254dc67640ad54672bac3f2992221a9c433d117.tar.gz elgg-2254dc67640ad54672bac3f2992221a9c433d117.tar.bz2 |
Allowing selected style attributes in htmlawed.
git-svn-id: https://code.elgg.org/elgg/trunk@3383 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/htmlawed/start.php')
-rw-r--r-- | mod/htmlawed/start.php | 5 |
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); |