From 01fa323b3888bc6b366c1aa9bf2a912cbb57d71f Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 14 Dec 2016 11:15:31 +0000 Subject: [PATCH] (Retrofit from trunk) Support of text-align in the styles. SVN:2.3[4523] --- core/htmlsanitizer.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/htmlsanitizer.class.inc.php b/core/htmlsanitizer.class.inc.php index 180d4f10a2..d443fbfb79 100644 --- a/core/htmlsanitizer.class.inc.php +++ b/core/htmlsanitizer.class.inc.php @@ -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()