diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 6da0b62..75ebe9b 100644 --- a/it_html.class +++ b/it_html.class @@ -374,7 +374,7 @@ function select($tags, $options, $selected = null) function sanitize($html) { $result = ""; - $html = it::replace(array('[\0\n\r\s]+' => " "), $html); + $html = it::replace(array('[\0\s]+' => " "), $html); # \s also matches \r and \n $urlpattern = 'https?://[^">]+'; if ($tag = it::match("(.*)<(div|p|i|b)[^>]*>(.*?)</\\2>(.*)", $html)) |