diff --git a/lib/weblib.php b/lib/weblib.php index 7c5bbd8aa1c..5d2c93b1f08 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -81,7 +81,9 @@ $ALLOWED_TAGS = * Allowed protocols - array of protocols that are safe to use in links and so on * @global string $ALLOWED_PROTOCOLS */ -$ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', 'color', 'callto'); +$ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', + 'color', 'callto', 'cursor', 'text-align', 'font-size', 'font-weight', 'font-style', + 'border', 'margin', 'padding'); // CSS as well to get through kses /// Functions