]> git.mjollnir.org Git - moodle.git/commitdiff
Stop "Undefined variable: ALLOWED_TAGS" errors all over the place.
authortjhunt <tjhunt>
Tue, 24 Apr 2007 17:09:12 +0000 (17:09 +0000)
committertjhunt <tjhunt>
Tue, 24 Apr 2007 17:09:12 +0000 (17:09 +0000)
lib/weblib.php

index 4d1749e5093d16c1514833b6d2866429c08a30a5..8b6c2f848a135263a0267585272aeeb4d601072f 100644 (file)
@@ -84,6 +84,7 @@ define('TRUSTTEXT', '#####TRUSTTEXT#####');
  * Allowed tags - string of html tags that can be tested against for safe html tags
  * @global string $ALLOWED_TAGS
  */
+global $ALLOWED_TAGS;
 $ALLOWED_TAGS =
 '<p><br><b><i><u><font><table><tbody><span><div><tr><td><th><ol><ul><dl><li><dt><dd><h1><h2><h3><h4><h5><h6><hr><img><a><strong><emphasis><em><sup><sub><address><cite><blockquote><pre><strike><param><acronym><nolink><lang><tex><algebra><math><mi><mn><mo><mtext><mspace><ms><mrow><mfrac><msqrt><mroot><mstyle><merror><mpadded><mphantom><mfenced><msub><msup><msubsup><munder><mover><munderover><mmultiscripts><mtable><mtr><mtd><maligngroup><malignmark><maction><cn><ci><apply><reln><fn><interval><inverse><sep><condition><declare><lambda><compose><ident><quotient><exp><factorial><divide><max><min><minus><plus><power><rem><times><root><gcd><and><or><xor><not><implies><forall><exists><abs><conjugate><eq><neq><gt><lt><geq><leq><ln><log><int><diff><partialdiff><lowlimit><uplimit><bvar><degree><set><list><union><intersect><in><notin><subset><prsubset><notsubset><notprsubset><setdiff><sum><product><limit><tendsto><mean><sdev><variance><median><mode><moment><vector><matrix><matrixrow><determinant><transpose><selector><annotation><semantics><annotation-xml><tt><code>';