change html/css to match standard; update docs

This commit is contained in:
Face
2025-08-20 15:06:56 +03:00
parent aa49fac5b8
commit cf99c8beff
10 changed files with 193 additions and 91 deletions

View File

@@ -66,7 +66,7 @@ impl DirectoryHandler for DefaultDirectoryHandler {
let class = if is_dir { "dir" } else { "file" };
listing.push_str(&format!(
r#" <a href="{}" class="{}">{}</a>"#,
r#" <a href="{}" style="{}">{}</a>"#,
name, class, display_name
));
listing.push('\n');