to adjust css, Result area is added in section tag #712

This commit is contained in:
DastInDark
2022-09-28 09:07:18 +09:00
parent 552e3baec5
commit 65064a7d2c

View File

@@ -93,6 +93,8 @@ 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!("<section>{}</section>", input_html);
let html_data = format!(
"{}",
html! {
@@ -105,7 +107,7 @@ pub fn create_html_file(input_html: String, path_str: String) {
}
body {
img(id="logo", src = "./logo.png");
: Raw(input_html.clone().as_str());
: Raw(result_contents.as_str());
}
}