From 3df2c5434445fbc181beb1d1281ca3425252fd6a Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 30 Aug 2004 12:13:02 +0000 Subject: [PATCH] Merged from Stable (fix for color fonts) --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''; -- 2.39.5