diff --git a/server/src/bin/cleanhtml.rs b/server/src/bin/cleanhtml.rs index 50a17ca..765f32b 100644 --- a/server/src/bin/cleanhtml.rs +++ b/server/src/bin/cleanhtml.rs @@ -10,7 +10,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, "", &Url::parse("http://example.com")?)?; + let html = sanitize_html(&html, "", &None)?; fs::write(dst, html)?; Ok(())