From: moodler Date: Mon, 30 Aug 2004 12:13:02 +0000 (+0000) Subject: Merged from Stable (fix for color fonts) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3df2c5434445fbc181beb1d1281ca3425252fd6a;p=moodle.git Merged from Stable (fix for color fonts) --- diff --git a/lib/weblib.php b/lib/weblib.php index 600fe1df8b..89ac7bf461 100644 --- a/lib/weblib.php +++ b/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 = '';