From 815f464aef500c1afaf885a1490eafa931461cd5 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 16 Feb 2007 13:06:03 +0000 Subject: Fix sanitize when used without it_html instantiaced (no global Q()) --- html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3