From 3b869264f97ba063855925cb76c7d46561628c20 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 9 May 2007 07:51:59 +0000 Subject: Make itools old syntax again --- html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.class') diff --git a/html.class b/html.class index f6cfb62..73937fa 100644 --- a/html.class +++ b/html.class @@ -235,7 +235,7 @@ function span($args) function sanitize($html) { $result = ""; - $html = it::replace('[\0\n\r\s]+' => " ", $html); + $html = it::replace(array('[\0\n\r\s]+' => " "), $html); $urlpattern = 'https?://[^">]+'; if ($tag = it::match("(.*)<(div|p|i|b)[^>]*>(.*?)(.*)", $html)) -- cgit v1.2.3