projects
/
Pman.Ftp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02426dc
)
View.php
author
Alan Knowles
<alan@roojs.com>
Thu, 8 Nov 2012 06:39:52 +0000
(14:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 8 Nov 2012 06:39:52 +0000
(14:39 +0800)
View.php
patch
|
blob
|
history
diff --git
a/View.php
b/View.php
index
0e4e5da
..
471062a
100644
(file)
--- a/
View.php
+++ b/
View.php
@@
-36,9
+36,11
@@
class Pman_Ftp_View extends Pman_Ftp_List
if (preg_match('#^\s*<\?xml.*encoding="([^"]+)"#mi', $fc, $matches)) {
$fc = iconv($matches[1], "UTF8//IGNORE", $fc);
@dl('tidy');
- echo $tidy;
+
//if (class_exists('Tidy')) {
$tidy = new Tidy();
+ echo $tidy;
+
$tidy->parseString($fc, array('indent'=>true), 'utf8');
$tidy->cleanRepair();
$fc = $tidy->toString();