Fix compile error

This commit is contained in:
Bill Thiede 2024-07-05 10:40:14 -07:00
parent 3a5a9bd66a
commit 3dfd2d48b3

View File

@ -9,7 +9,7 @@ fn main() -> anyhow::Result<()> {
println!("Sanitizing {src} into {dst}"); println!("Sanitizing {src} into {dst}");
let bytes = fs::read(src)?; let bytes = fs::read(src)?;
let html = String::from_utf8_lossy(&bytes); let html = String::from_utf8_lossy(&bytes);
let html = sanitize_html(&html)?; let html = sanitize_html(&html, "")?;
fs::write(dst, html)?; fs::write(dst, html)?;
Ok(()) Ok(())