Skip to content
Permalink
Browse files

Merged from Stable (fix for color fonts)

  • Loading branch information...
moodler
moodler committed Aug 30, 2004
1 parent e749554 commit 3df2c5434445fbc181beb1d1281ca3425252fd6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
@@ -790,7 +790,7 @@ function cleanAttributes2($htmlTag){
$elem = $matches[2]; //the element name
$attrlist = $matches[3]; // the list of attributes as a string
$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto', 'teamspeak', 'gopher');
$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto', 'teamspeak', 'gopher', 'color');
$attrArray = kses_hair($attrlist, $allowed_protocols) ;
$attStr = '';

0 comments on commit 3df2c54

Please sign in to comment.
You can’t perform that action at this time.