]> git.mjollnir.org Git - moodle.git/commitdiff
Added lists to allowed html in cleantext
authormartin <martin>
Sat, 1 Jun 2002 03:46:35 +0000 (03:46 +0000)
committermartin <martin>
Sat, 1 Jun 2002 03:46:35 +0000 (03:46 +0000)
lib/weblib.php

index 2e1201889c67a52d01ce6ce514a31e0a01c13d98..428a5b908febd49352fe08ca6ba865d9801dd3c6 100644 (file)
@@ -260,7 +260,7 @@ function cleantext($text) {
 // Given raw text (eg typed in by a user), this function cleans it up 
 // and removes any nasty tags that could mess up Moodle pages.
 
-    return strip_tags($text, '<b><i><u><font>');
+    return strip_tags($text, '<b><i><u><font><ol><ul><li>');
 }