[Svn] r3860 - trunk/roundcubemail/program/lib

trac at roundcube.net trac at roundcube.net
Tue Aug 3 13:48:24 CEST 2010

Author: alec
Date: 2010-08-03 06:48:24 -0500 (Tue, 03 Aug 2010)
New Revision: 3860

- Don't allow short form of empty <strong> tag

Modified: trunk/roundcubemail/program/lib/washtml.php
--- trunk/roundcubemail/program/lib/washtml.php	2010-08-03 11:46:13 UTC (rev 3859)
+++ trunk/roundcubemail/program/lib/washtml.php	2010-08-03 11:48:24 UTC (rev 3860)
@@ -89,7 +89,7 @@
   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;


More information about the Svn mailing list