From 16c5ec4d7423425b020d290ddfb9c57904dd5e8e Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 22 May 2021 12:11:52 -0700 Subject: [PATCH] Remove chapter_begin id from print output. --- src/renderer/html_handlebars/hbs_renderer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 56324331..361a398f 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -61,7 +61,8 @@ impl HtmlHandlebars { // Add page break between chapters // See https://developer.mozilla.org/en-US/docs/Web/CSS/break-before and https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-before // Add both two CSS properties because of the compatibility issue - print_content.push_str(r#"
"#); + print_content + .push_str(r#"
"#); } print_content.push_str(&fixed_content);