From 3dfd2d48b333fa82f7f46440ef8c6d0282d29e6f Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Fri, 5 Jul 2024 10:40:14 -0700 Subject: [PATCH] Fix compile error --- server/src/bin/cleanhtml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/bin/cleanhtml.rs b/server/src/bin/cleanhtml.rs index 6cbc89a..212b220 100644 --- a/server/src/bin/cleanhtml.rs +++ b/server/src/bin/cleanhtml.rs @@ -9,7 +9,7 @@ fn main() -> anyhow::Result<()> { println!("Sanitizing {src} into {dst}"); let bytes = fs::read(src)?; let html = String::from_utf8_lossy(&bytes); - let html = sanitize_html(&html)?; + let html = sanitize_html(&html, "")?; fs::write(dst, html)?; Ok(())