]> git.mjollnir.org Git - moodle.git/commitdiff
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background...
authorericmerrill <ericmerrill>
Wed, 3 Dec 2008 16:31:49 +0000 (16:31 +0000)
committerericmerrill <ericmerrill>
Wed, 3 Dec 2008 16:31:49 +0000 (16:31 +0000)
lib/weblib.php

index ca2b28f7b446a6d40b281e7849eaad8c1494d308..7a5a0b7fe9fbc20fac64468735950934287be371 100644 (file)
@@ -102,7 +102,7 @@ $ALLOWED_TAGS =
  */
 $ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', 'mms',
                            '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
+                           'border', 'margin', 'padding', 'background', 'background-color', 'text-decoration');   // CSS as well to get through kses
 
 
 /// Functions