Merged from Stable (fix for color fonts)

This commit is contained in:
moodler
2004-08-30 12:13:02 +00:00
parent e749554efa
commit 3df2c54344
+1 -1
View File
@@ -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 = '';