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

index 240880a..bea0a70 100644 (file)
--- a/View.php
+++ b/View.php
@@ -35,6 +35,7 @@ class Pman_Ftp_View extends Pman_Ftp_List
                 $matches = array();
                 if (preg_match('#^\s*<\?xml.*encoding="([^"]+)"#mi', $fc, $matches)) {
                     $fc = iconv($matches[1], "UTF8//IGNORE", $fc);
+                    @dl('tidy');
                     if (class_exists('Tidy')) {
                         $tidy = new Tidy();
                         $tidy->parseString($fc);