summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-11-03 17:41:54 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-11-03 17:41:54 +0000
commit9174cc8d151a0ebfa6ff91ddd789ef443a3b29f3 (patch)
tree65534ea13bcd331e331c5ec6d2e18a14747c011e /roundcubemail
parent09891bca996e6bc8b90ef533703a0911147c19ce (diff)
- fix empty A tag handling (#1486272)
git-svn-id: https://svn.roundcube.net/trunk@3092 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/lib/washtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/washtml.php b/roundcubemail/program/lib/washtml.php
index 01b0488fc..fb2533b4a 100644
--- a/roundcubemail/program/lib/washtml.php
+++ b/roundcubemail/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;