summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.class2
1 files changed, 1 insertions, 1 deletions
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;
}