From: Michael M Slusarz Date: Fri, 25 Jun 2010 18:11:23 +0000 (-0600) Subject: Bug #8827: Need preserve_css off or else CSS array is not generated X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=958dd4887697289270da5a93189f24af479b210b;p=horde.git Bug #8827: Need preserve_css off or else CSS array is not generated --- diff --git a/imp/view.php b/imp/view.php index 9485f59b2..bb5314a1d 100644 --- a/imp/view.php +++ b/imp/view.php @@ -265,7 +265,7 @@ case 'print_attach': } } - if ($style = Horde_Text_Filter::filter(Horde_Themes::loadCssFiles(Horde_Themes::getStylesheets()), 'csstidy', array('ob' => true))->filterBySelector($selectors)) { + if ($style = Horde_Text_Filter::filter(Horde_Themes::loadCssFiles(Horde_Themes::getStylesheets()), 'csstidy', array('ob' => true, 'preserve_css' => false))->filterBySelector($selectors)) { $elt->setAttribute('style', ($elt->hasAttribute('style') ? rtrim($elt->getAttribute('style'), ' ;') . ';' : '') . $style); } }