View.php
authorAlan Knowles <alan@roojs.com>
Thu, 8 Nov 2012 06:56:29 +0000 (14:56 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 Nov 2012 06:56:29 +0000 (14:56 +0800)
View.php

index 1473d9a..02fd816 100644 (file)
--- a/View.php
+++ b/View.php
@@ -43,11 +43,12 @@ class Pman_Ftp_View extends Pman_Ftp_List
                         
                 //if (class_exists('Tidy')) {
                     $tidy = new Tidy();
-                    echo $tidy;
+                    
                     
                     $tidy->parseString($fc, array('indent'=>true), 'utf8');
                     $tidy->cleanRepair();
                     $fc = (string)$tidy;
+                    
                 }    
                 echo '<PRE>'. htmlspecialchars($fc) . '</PRE>';
                 exit;