summaryrefslogtreecommitdiff
path: root/program/lib/washtml.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-11-03 17:41:54 +0000
committeralecpl <alec@alec.pl>2009-11-03 17:41:54 +0000
commit7435e3bc32c55391c4b6fcbd82f0ae7763656894 (patch)
tree175f1f0b3492e4764525864914f20fa485260da0 /program/lib/washtml.php
parent655bd9ade2d78b8f167379abc482e981c7a95e29 (diff)
- fix empty A tag handling (#1486272)
Diffstat (limited to 'program/lib/washtml.php')
-rw-r--r--program/lib/washtml.php2
1 files changed, 1 insertions, 1 deletions
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 (<tag />) */
- 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;