Update common.php

pull/54/head
qkqpttgf 2020-05-05 17:40:14 +08:00 committed by GitHub
parent ca9fc485b5
commit 0e5320dd93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -2001,12 +2001,9 @@ function render_list($path = '', $files = '')
// 最后清除换行
while (strpos($html, '
while (strpos($html, "\r\n\r\n")) $html = str_replace("\r\n\r\n", "\r\n", $html);
//while (strpos($html, PHP_EOL.PHP_EOL)) $html = str_replace(PHP_EOL.PHP_EOL, PHP_EOL, $html);
')) $html = str_replace('
', '
', $html);
}
$html = $authinfo . $html;