From 597e8fdeac497c8d8864894ad6ab7607f70fc12e Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 17 Feb 2014 11:35:25 +0000 Subject: [PATCH] we allow filtered style sections now throughout egroupware --- phpgwapi/inc/class.egw_htmLawed.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_htmLawed.inc.php b/phpgwapi/inc/class.egw_htmLawed.inc.php index e0db51a809..44b13fd665 100644 --- a/phpgwapi/inc/class.egw_htmLawed.inc.php +++ b/phpgwapi/inc/class.egw_htmLawed.inc.php @@ -112,7 +112,8 @@ class egw_htmLawed // put it back in after purifying; styles are processed for known security risks // in html::getStyles $styles=''; - if ($Config['hook_tag'] =="hl_email_tag_transform") $styles = html::getStyles($html2check); + // we allow filtered style sections now throughout egroupware + /*if ($Config['hook_tag'] =="hl_email_tag_transform")*/ $styles = html::getStyles($html2check); //error_log(__METHOD__.__LINE__.array2string($styles)); return ($styles?$styles:'').htmLawed($html2check, $Config, $Spec);