From 714bd60ae00fa7368943086099f4754e13ca9b08 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 5 Jul 2007 14:59:44 +0000 Subject: Remove still encoded numeric entities from sanitized text --- html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.class') diff --git a/html.class b/html.class index 0551f78..f5ba5b3 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 = it_html::Q(html_entity_decode(strip_tags($html))); + $result = it_html::Q(it::replace('&#\d+;' => "", html_entity_decode(strip_tags($html)))); return $result; } -- cgit v1.2.3