diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 51cb9c79..918ec29e 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -648,9 +648,9 @@ fn make_data( data.insert("playground_copyable".to_owned(), json!(true)); } - data.insert("print_enable".to_owned(), json!(!html_config.print.enable)); - data.insert("fold_enable".to_owned(), json!((html_config.fold.enable))); - data.insert("fold_level".to_owned(), json!((html_config.fold.level))); + data.insert("print_enable".to_owned(), json!(html_config.print.enable)); + data.insert("fold_enable".to_owned(), json!(html_config.fold.enable)); + data.insert("fold_level".to_owned(), json!(html_config.fold.level)); let search = html_config.search.clone(); if cfg!(feature = "search") {