Some more "protocols" actually CSS tags
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user