diff options
author | alecpl <alec@alec.pl> | 2010-08-03 11:48:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-08-03 11:48:24 +0000 |
commit | 1d3596dd615d4aa921f226201a16721bb72f938d (patch) | |
tree | 54373154a8b34e75b8c750164cb66ce70579c149 /program/lib | |
parent | fb995a813afcc53c1c04e3a63af7c72f50901b03 (diff) |
- Don't allow short form of empty <strong> tag
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/washtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/washtml.php b/program/lib/washtml.php index bccbd3df3..f2bbf72bf 100644 --- a/program/lib/washtml.php +++ b/program/lib/washtml.php @@ -89,7 +89,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', 'a', 'font', 'center', 'table', 'ul', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'dl'); + static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font', 'center', 'table', 'ul', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'dl', 'strong'); /* State for linked objects in HTML */ public $extlinks = false; |