Permalink
Browse files

Added lists to allowed html in cleantext

  • Loading branch information...
1 parent 0fb523d commit 8c7dc4406157fc467e1282f930c52b40e7aeae6e martin committed Jun 1, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
View
2 lib/weblib.php
@@ -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>');
}

0 comments on commit 8c7dc44

Please sign in to comment.