From f857093ca98c784c01064f30b5ab08e68d98a868 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 15 Feb 2007 01:47:00 +0000 Subject: Added empty alt tag to make validator happy --- html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.class') diff --git a/html.class b/html.class index d1fb5d2..fd60a1d 100644 --- a/html.class +++ b/html.class @@ -254,7 +254,7 @@ function sanitize($html) { # Image tags, keeps only src attribute list($head, $src, $tail) = $tag; - $result .= it_html::sanitize($head) . "" . it_html::sanitize($tail); + $result .= it_html::sanitize($head) . "\"\"" . it_html::sanitize($tail); } else if ($tag = it::match("(.*)<(br)[^>]*>(.*)", $html)) { -- cgit v1.2.3