From e00667c2e4a71e5a46e26359f4ba184b2ff3ba7e Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 11 May 2016 13:43:49 +0000 Subject: [PATCH] HTML texts: support of float (left/right) in the inline style tags. SVN:trunk[4061] --- 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 150ae3833..86680ccba 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', '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', ); public function DoSanitize($sHTML)