move cfg to the right spot oops

This commit is contained in:
zyl 2024-06-25 01:14:24 -07:00
parent 126b38db7e
commit 8bf0cb4e55
No known key found for this signature in database

View file

@ -135,8 +135,8 @@ impl<'a> SiteBuilder<'a> {
let mut rewriter = HtmlRewriter::new(
Settings {
element_content_handlers: vec![
#[cfg(debug_assertions)]
element!("body", |el| {
#[cfg(debug_assertions)]
el.set_attribute("class", "debug")?;
Ok(())
}),