diff --git a/src/options/htmlreport.rs b/src/options/htmlreport.rs
index 30143c2f..03a2972f 100644
--- a/src/options/htmlreport.rs
+++ b/src/options/htmlreport.rs
@@ -93,7 +93,6 @@ pub fn create_html_file(input_html: String, path_str: String) {
}
let mut html_writer = BufWriter::new(File::create(path).unwrap());
- let result_contents = format!("", input_html);
let html_data = format!(
"{}",
@@ -106,8 +105,10 @@ pub fn create_html_file(input_html: String, path_str: String) {
link(rel="icon", type="image/png", href="./favicon.png");
}
body {
- img(id="logo", src = "./logo.png");
- : Raw(result_contents.as_str());
+ section {
+ img(id="logo", src = "./logo.png");
+ : Raw(input_html.as_str());
+ }
}
}