From: martin Date: Sat, 1 Jun 2002 03:46:35 +0000 (+0000) Subject: Added lists to allowed html in cleantext X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8c7dc4406157fc467e1282f930c52b40e7aeae6e;p=moodle.git Added lists to allowed html in cleantext --- diff --git a/lib/weblib.php b/lib/weblib.php index 2e1201889c..428a5b908f 100644 --- a/lib/weblib.php +++ b/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, ''); + return strip_tags($text, '
    • '); }