summaryrefslogtreecommitdiff
path: root/program/lib/washtml.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-30 07:33:33 +0000
committeralecpl <alec@alec.pl>2011-11-30 07:33:33 +0000
commitaf4b3be87d7251fd2cd4b9bd0cee617dca733622 (patch)
tree3f6d3f17c74042458e01a5e6c4fd9641915a430c /program/lib/washtml.php
parent57486f6e58d602413b58f780bf3a94ad6d2af8ce (diff)
- Fix handling of empty <U> tags in HTML messages (#1488225)
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 9292aa158..9c8625f30 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -108,7 +108,7 @@ class washtml
/* Block elements which could be empty but cannot be returned in short form (<tag />) */
static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font', 'center',
- 'table', 'ul', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'dl', 'strong', 'i', 'b');
+ 'table', 'ul', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'dl', 'strong', 'i', 'b', 'u');
/* State for linked objects in HTML */
public $extlinks = false;