From 2cb616909c90af3ff49f672aed2e341b9e02ab31 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 3 May 2010 09:00:55 +0000 Subject: [PATCH] allow |align|style|width|height for img --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 6702168526..34ef876981 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -1261,7 +1261,7 @@ class html 'tr[class|style|align|bgcolor|align|valign],'. 'td[class|colspan|rowspan|width|style|align|bgcolor|align|valign|nowrap],'. 'th[class|colspan|rowspan|width|style|align|bgcolor|align|valign|nowrap],'. - 'a[href|target|name|title],img[src|alt|title]'); + 'a[href|target|name|title],img[src|alt|title|align|style|width|height]'); $config->set('Cache.SerializerPath', $GLOBALS['egw_info']['server']['temp_dir']); } $purifier = new HTMLPurifier($config);