From a72ad657241fd35ae7e0f2cbdec210caa9554695 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 28 Feb 2010 08:07:45 +0000 Subject: - Fix invalid font tags which cause HTML message rendering problems (#1486521) --- program/lib/washtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/lib/washtml.php b/program/lib/washtml.php index fb2533b4a..2acb7529f 100644 --- a/program/lib/washtml.php +++ b/program/lib/washtml.php @@ -87,7 +87,7 @@ class washtml static $html_attribs = array('name', 'class', 'title', 'alt', 'width', 'height', 'align', 'nowrap', 'col', 'row', 'id', 'rowspan', 'colspan', 'cellspacing', 'cellpadding', 'valign', 'bgcolor', 'color', 'border', 'bordercolorlight', 'bordercolordark', 'face', 'marginwidth', 'marginheight', 'axis', 'border', 'abbr', 'char', 'charoff', 'clear', 'compact', 'coords', 'vspace', 'hspace', 'cellborder', 'size', 'lang', 'dir'); /* Block elements which could be empty but cannot be returned in short form () */ - static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a'); + static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font'); /* State for linked objects in HTML */ public $extlinks = false; -- cgit v1.2.3