projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509d20e
)
Csstidy moved to Text_Filter_Csstidy package
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Jul 2009 20:53:32 +0000
(14:53 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Jul 2009 20:53:32 +0000
(14:53 -0600)
imp/lib/IMP.php
patch
|
blob
|
history
diff --git
a/imp/lib/IMP.php
b/imp/lib/IMP.php
index
d7f6645
..
0247127
100644
(file)
--- a/
imp/lib/IMP.php
+++ b/
imp/lib/IMP.php
@@
-1559,11
+1559,9
@@
class IMP
}
/* Use CSS tidy to clean up file. */
- require_once HORDE_BASE . '/services/csstidy/class.csstidy.php';
- $css_tidy = new csstidy();
- $css_tidy->load_template('highest_compression');
- $css_tidy->parse($out);
- $out = $css_tidy->print->plain();
+ try {
+ $out = Horde_Text_Filter::filter($out, 'csstidy');
+ } catch (Horde_Exception $e) {}
switch ($cache_type) {
case 'filesystem':