No idea what this setting does, but it fixes bug #8827.
authorJan Schneider <jan@horde.org>
Thu, 17 Jun 2010 21:51:39 +0000 (23:51 +0200)
committerJan Schneider <jan@horde.org>
Thu, 17 Jun 2010 21:51:39 +0000 (23:51 +0200)
framework/Text_Filter_Csstidy/lib/Horde/Text/Filter/Csstidy.php

index 99cf74c..0479624 100644 (file)
@@ -47,6 +47,7 @@ class Horde_Text_Filter_Csstidy extends Horde_Text_Filter_Base
         require_once dirname(__FILE__) . '/Csstidy/class.csstidy.php';
 
         $css_tidy = new csstidy();
+        $css_tidy->set_cfg('preserve_css', true);
         $css_tidy->load_template($this->_params['level']);
         $css_tidy->parse($text);