(Retrofit from trunk) Support of text-align in the styles.

SVN:2.3[4523]
This commit is contained in:
Denis Flaven
2016-12-14 11:15:31 +00:00
parent 6dca5afc83
commit 01fa323b38

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()