From f697a4217da85ac701c739b347b237be70830ee3 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 7 Aug 2008 22:38:46 +0000 Subject: [PATCH] Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index e1a437330d..c6e81b9e44 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -100,7 +100,7 @@ $ALLOWED_TAGS = * @global string $ALLOWED_PROTOCOLS */ $ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', 'mms', - 'color', 'callto', 'cursor', 'text-align', 'font-size', 'font-weight', 'font-style', + 'color', 'callto', 'cursor', 'text-align', 'font-size', 'font-weight', 'font-style', 'font-family', 'border', 'margin', 'padding', 'background', 'text-decoration'); // CSS as well to get through kses -- 2.39.5