mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
we allow filtered style sections now throughout egroupware
This commit is contained in:
parent
3ba14a1291
commit
597e8fdeac
@ -112,7 +112,8 @@ class egw_htmLawed
|
|||||||
// put it back in after purifying; styles are processed for known security risks
|
// put it back in after purifying; styles are processed for known security risks
|
||||||
// in html::getStyles
|
// in html::getStyles
|
||||||
$styles='';
|
$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));
|
//error_log(__METHOD__.__LINE__.array2string($styles));
|
||||||
|
|
||||||
return ($styles?$styles:'').htmLawed($html2check, $Config, $Spec);
|
return ($styles?$styles:'').htmLawed($html2check, $Config, $Spec);
|
||||||
|
Loading…
Reference in New Issue
Block a user