No need to pretty-print HTML output - optimize for size
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 13 Nov 2009 18:54:04 +0000 (11:54 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 15 Nov 2009 02:44:57 +0000 (19:44 -0700)
framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php

index 51337f2..ddad815 100644 (file)
@@ -51,13 +51,12 @@ class Horde_Text_Filter_Cleanhtml extends Horde_Text_Filter
         $tidy_config = array(
             'enclose-block-text' => true,
             'hide-comments' => true,
-            'indent' => true,
-            'indent-spaces' => 4,
+            'indent' => false,
             'numeric-entities' => true,
             'output-xhtml' => true,
             'preserve-entities' => true,
             'show-body-only' => !empty($this->_params['body_only']),
-            'tab-size' => 4,
+            'tab-size' => 0,
             'wrap' => 0
         );