summaryrefslogtreecommitdiff
path: root/html.class
diff options
context:
space:
mode:
authorChristian Schneider2007-05-09 07:51:59 +0000
committerChristian Schneider2007-05-09 07:51:59 +0000
commit3b869264f97ba063855925cb76c7d46561628c20 (patch)
tree6390aaad1474706ee25277701880435423a97fff /html.class
parentf43af745e8c07b72ea9453163438d8ddce753841 (diff)
downloaditools-3b869264f97ba063855925cb76c7d46561628c20.tar.gz
itools-3b869264f97ba063855925cb76c7d46561628c20.tar.bz2
itools-3b869264f97ba063855925cb76c7d46561628c20.zip
Make itools old syntax again
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))