#1321 Losing table borders (and other options configurable in the rich text editor)

SVN:2.3[4377]
This commit is contained in:
Romain Quetiez
2016-09-05 13:06:51 +00:00
parent 4f1be53b68
commit 600c447529

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(