summaryrefslogtreecommitdiff
path: root/html.class
diff options
context:
space:
mode:
Diffstat (limited to 'html.class')
-rw-r--r--html.class2
1 files changed, 1 insertions, 1 deletions
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)[^>]*>(.*?)</\\2>(.*)", $html))