From f8f7486be2c0d43ae39f6d023977e2f43bfd3c23 Mon Sep 17 00:00:00 2001 From: Guillaume Lajarige Date: Fri, 15 Jun 2018 10:09:35 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01244=20Authorize=20"colspan"=20&=20"rows?= =?UTF-8?q?pan"=20attributes=20on=20"th"=20/=20"td"=20/=20"tr"=20tags=20in?= =?UTF-8?q?=20HTML=20fields.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5883] --- core/htmlsanitizer.class.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/htmlsanitizer.class.inc.php b/core/htmlsanitizer.class.inc.php index 987932c7d..cbb5c8804 100644 --- a/core/htmlsanitizer.class.inc.php +++ b/core/htmlsanitizer.class.inc.php @@ -184,9 +184,9 @@ class HTMLDOMSanitizer extends HTMLSanitizer 'table' => array('style', 'width', 'summary', 'align', 'border', 'cellpadding', 'cellspacing'), 'thead' => array('style'), 'tbody' => array('style'), - 'tr' => array('style'), - 'td' => array('style', 'colspan'), - 'th' => array('style'), + 'tr' => array('style', 'colspan', 'rowspan'), + 'td' => array('style', 'colspan', 'rowspan'), + 'th' => array('style', 'colspan', 'rowspan'), 'fieldset' => array('style'), 'legend' => array('style'), 'font' => array('face', 'color', 'style', 'size'),