summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2007-02-16 13:06:03 +0000
committerChristian Schneider2007-02-16 13:06:03 +0000
commit815f464aef500c1afaf885a1490eafa931461cd5 (patch)
treecf63e00cc5a41957772368779c5e03a2432bd52d
parent3dd1e42e08611a8eee7506585cf1946c9469cf9d (diff)
downloaditools-815f464aef500c1afaf885a1490eafa931461cd5.tar.gz
itools-815f464aef500c1afaf885a1490eafa931461cd5.tar.bz2
itools-815f464aef500c1afaf885a1490eafa931461cd5.zip
Fix sanitize when used without it_html instantiaced (no global Q())
-rw-r--r--html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.class b/html.class
index fd60a1d..473923b 100644
--- a/html.class
+++ b/html.class
@@ -263,7 +263,7 @@ function sanitize($html)
$result .= it_html::sanitize($head) . "<$tagname />" . it_html::sanitize($tail);
}
else
- $result = Q(html_entity_decode(strip_tags($html)));
+ $result = it_html::Q(html_entity_decode(strip_tags($html)));
return $result;
}