From e6ac8ecdd98a7eb52f1113282fe0be14adf99ac8 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 22 Sep 2020 13:24:13 -0700 Subject: [PATCH] Fix print icon. --- src/renderer/html_handlebars/hbs_renderer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") {