From 3667f95b7caedabc5f46f902c8644c36dd630557 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 24 Oct 2019 10:20:41 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02558=20center=20is=20back=20in=20sanitiz?= =?UTF-8?q?er=20white=20list=20Reverts=204450d6af=20(2.5.0)=20Was=20causin?= =?UTF-8?q?g=20troubles=20when=20integrating=20emails?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/htmlsanitizer.class.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/htmlsanitizer.class.inc.php b/core/htmlsanitizer.class.inc.php index 907e94286..59be21623 100644 --- a/core/htmlsanitizer.class.inc.php +++ b/core/htmlsanitizer.class.inc.php @@ -206,6 +206,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer 'q' => array(), 'hr' => array('style'), 'pre' => array(), + 'center' => array(), ); protected static $aAttrsWhiteList = array(