From 7435e3bc32c55391c4b6fcbd82f0ae7763656894 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 3 Nov 2009 17:41:54 +0000 Subject: - fix empty A tag handling (#1486272) --- program/lib/washtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/washtml.php b/program/lib/washtml.php index 01b0488fc..fb2533b4a 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'); + static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a'); /* State for linked objects in HTML */ public $extlinks = false; -- cgit v1.2.3