Support of text-align in the styles.

SVN:trunk[4511]
This commit is contained in:
Denis Flaven
2016-12-08 13:58:01 +00:00
parent 7d5898f302
commit c903fc2246

View File

@@ -191,7 +191,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer
);
protected static $aStylesWhiteList = array(
'background-color', 'color', 'float', 'font', 'font-style', 'font-size', 'font-family', 'padding', 'margin', 'border', 'cellpadding', 'cellspacing', 'bordercolor', 'border-collapse', 'width', 'height',
'background-color', 'color', 'float', 'font', 'font-style', 'font-size', 'font-family', 'padding', 'margin', 'border', 'cellpadding', 'cellspacing', 'bordercolor', 'border-collapse', 'width', 'height', 'text-align',
);
public function __construct()