diff options
-rw-r--r-- | html.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |