From 9405e53e49c55297fad76e9db265586a40fb94f4 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 10 Nov 2026 11:42:59 +1300 Subject: Fix whitespace --- src/generate_html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/generate_html.rs b/src/generate_html.rs index 6919b5f..64a5bfd 100644 --- a/src/generate_html.rs +++ b/src/generate_html.rs @@ -251,7 +251,7 @@ pub fn document_to_html(page: &Page, website: &Website) -> String { } else if let Some(stripped) = output.strip_prefix("[X]") { output = format!("{stripped}"); class.push_str(" checkbox"); - }else if let Some(stripped) = output.strip_prefix("[ ]") { + } else if let Some(stripped) = output.strip_prefix("[ ]") { output = format!("{stripped}"); class.push_str(" checkbox"); } else if let Some(stripped) = output.strip_prefix("[x]") { -- cgit v1.3.1