aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/renderer.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index 2003ae8..5f1677f 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -268,8 +268,9 @@ fn wget_footer(abs_path: &Uri, root_dir_name: Option<&str>, current_user: Option
};
let encoded_abs_path = abs_path.to_string().replace("'", "%27");
- let command =
- format!("wget -rcnHp -R 'index.html*'{cut_dirs}{user_params} '{encoded_abs_path}?raw=true'");
+ let command = format!(
+ "wget -rcnHp -R 'index.html*'{cut_dirs}{user_params} '{encoded_abs_path}?raw=true'"
+ );
let click_to_copy = format!("navigator.clipboard.writeText(\"{command}\")");
html! {