]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13886 whitelist text-decoration in kses cleaning; merged from MOODLE_19_STABLE
authorskodak <skodak>
Sat, 15 Mar 2008 15:01:27 +0000 (15:01 +0000)
committerskodak <skodak>
Sat, 15 Mar 2008 15:01:27 +0000 (15:01 +0000)
lib/weblib.php

index 129e60484f7df1cd618767f29da913935703f85e..0e1cf0375d42359aecc18d7abec5340271400c9f 100644 (file)
@@ -101,7 +101,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',
-                           'border', 'margin', 'padding', 'background');   // CSS as well to get through kses
+                           'border', 'margin', 'padding', 'background', 'text-decoration');   // CSS as well to get through kses
 
 
 /// Functions