[Svn] r3295 - in trunk/roundcubemail: . program/lib

trac at roundcube.net trac at roundcube.net
Sun Feb 28 09:07:45 CET 2010


Author: alec
Date: 2010-02-28 02:07:45 -0600 (Sun, 28 Feb 2010)
New Revision: 3295

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/lib/washtml.php
Log:
- Fix invalid font tags which cause HTML message rendering problems (#1486521)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2010-02-26 11:43:19 UTC (rev 3294)
+++ trunk/roundcubemail/CHANGELOG	2010-02-28 08:07:45 UTC (rev 3295)
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix invalid font tags which cause HTML message rendering problems (#1486521)
 - Fix CVE-2010-0464: Disable DNS prefetching (#1486449)
 - Fix Received headers to behave better with SpamAssassin (#1486513)
 - Password: Make passwords encoding consistent with core, add 'password_charset' global option (#1486473)

Modified: trunk/roundcubemail/program/lib/washtml.php
===================================================================
--- trunk/roundcubemail/program/lib/washtml.php	2010-02-26 11:43:19 UTC (rev 3294)
+++ trunk/roundcubemail/program/lib/washtml.php	2010-02-28 08:07:45 UTC (rev 3295)
@@ -87,7 +87,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');
+  static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font');
   
   /* State for linked objects in HTML */
   public $extlinks = false;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list