]> git.mjollnir.org Git - moodle.git/commitdiff
Added some more allowed HTML tags
authormoodler <moodler>
Mon, 21 Oct 2002 09:16:06 +0000 (09:16 +0000)
committermoodler <moodler>
Mon, 21 Oct 2002 09:16:06 +0000 (09:16 +0000)
lib/weblib.php

index e5250d20f929da543f81c0dfc09bb590f2dc8c30..f65789a20a37a6cc014be12e80255d451d29d48b 100644 (file)
@@ -61,7 +61,7 @@ $JAVASCRIPT_TAGS = array("javascript:", "onclick=", "ondblclick=", "onkeydown=",
                          "onmouseover=", "onmouseout=", "onmousedown=", "onmouseup=",
                          "onblur=", "onfocus=", "onload=", "onselect=");
 
-$ALLOWED_TAGS = "<p><b><i><u><font><table><tbody><span><div><tr><td><ol><ul><dl><li><dt><dd><h1><h2><h3><hr><img><a>";
+$ALLOWED_TAGS = "<p><br><b><i><u><font><table><tbody><span><div><tr><td><ol><ul><dl><li><dt><dd><h1><h2><h3><h4><h5><h6><hr><img><a><strong><emphasis><sup><sub><address><cite><blockquote><pre>";
 
 
 /// Functions