Added a few more allowed HTML tags in plain text files. <dl> <h1><h2><h3> <hr>

This commit is contained in:
martin 2002-09-27 14:48:25 +00:00
parent dfb6e4ac3e
commit 8dcea3963a

View File

@ -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, '<b><i><u><font><ol><ul><li>');
return strip_tags($text, '<b><i><u><font><ol><ul><dl><li><dt><dd><h1><h2><h3><hr>');
}