From: martin Date: Fri, 27 Sep 2002 14:48:25 +0000 (+0000) Subject: Added a few more allowed HTML tags in plain text files.


X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8dcea3963abdd87c7a12378f33b6eb9a22890354;p=moodle.git Added a few more allowed HTML tags in plain text files.


--- diff --git a/lib/weblib.php b/lib/weblib.php index b460e0aab7..5e99405f55 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -266,7 +266,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, '

        • '); }