]> git.mjollnir.org Git - moodle.git/commitdiff
Added paragraphs to allowed HTML tags
authormoodler <moodler>
Mon, 21 Oct 2002 04:12:54 +0000 (04:12 +0000)
committermoodler <moodler>
Mon, 21 Oct 2002 04:12:54 +0000 (04:12 +0000)
lib/weblib.php

index a390e5066fa97005af11e767f4c4ea347277b891..e5250d20f929da543f81c0dfc09bb590f2dc8c30 100644 (file)
@@ -61,7 +61,7 @@ $JAVASCRIPT_TAGS = array("javascript:", "onclick=", "ondblclick=", "onkeydown=",
                          "onmouseover=", "onmouseout=", "onmousedown=", "onmouseup=",
                          "onblur=", "onfocus=", "onload=", "onselect=");
 
-$ALLOWED_TAGS = "<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><b><i><u><font><table><tbody><span><div><tr><td><ol><ul><dl><li><dt><dd><h1><h2><h3><hr><img><a>";
 
 
 /// Functions