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

index 64c7f8d..db064f6 100644 (file)
--- a/View.php
+++ b/View.php
@@ -38,7 +38,7 @@ class Pman_Ftp_View extends Pman_Ftp_List
                     @dl('tidy');
                     //if (class_exists('Tidy')) {
                         $tidy = new Tidy();
-                        $tidy->parseString($fc);
+                        $tidy->parseString($fc, array('intent'=>true), 'utf8');
                         $tidy->cleanRepair();
                         $fc = $tidy->toString();
                     //}