diff options
Diffstat (limited to 'html.class')
-rw-r--r-- | html.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ function sanitize($html) { # Image tags, keeps only src attribute list($head, $src, $tail) = $tag; - $result .= it_html::sanitize($head) . "<img src=\"$src\" />" . it_html::sanitize($tail); + $result .= it_html::sanitize($head) . "<img src=\"$src\" alt=\"\" />" . it_html::sanitize($tail); } else if ($tag = it::match("(.*)<(br)[^>]*>(.*)", $html)) { |