From 8c7dc4406157fc467e1282f930c52b40e7aeae6e Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 1 Jun 2002 03:46:35 +0000 Subject: [PATCH] Added lists to allowed html in cleantext --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '
    • '); } -- 2.39.5