#1321 Losing table borders (notification templates and notes)

SVN:trunk[4376]
This commit is contained in:
Romain Quetiez
2016-09-05 13:01:08 +00:00
parent 8330f3d498
commit 8feef7fd8a

View File

@@ -159,7 +159,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer
'nav' => array('style'),
'section' => array('style'),
'code' => array('style'),
'table' => array('style', 'width'),
'table' => array('style', 'width', 'summary', 'align', 'border', 'cellpadding', 'cellspacing'),
'thead' => array('style'),
'tbody' => array('style'),
'tr' => array('style'),
@@ -183,6 +183,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer
'hr' => array('style'),
'pre' => array(),
'center' => array(),
'caption' => array(),
);
protected static $aAttrsWhiteList = array(