We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7e779 commit 16c5ec4Copy full SHA for 16c5ec4
src/renderer/html_handlebars/hbs_renderer.rs
@@ -61,7 +61,8 @@ impl HtmlHandlebars {
61
// Add page break between chapters
62
// 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
63
// Add both two CSS properties because of the compatibility issue
64
- print_content.push_str(r#"<div id="chapter_begin" style="break-before: page; page-break-before: always;"></div>"#);
+ print_content
65
+ .push_str(r#"<div style="break-before: page; page-break-before: always;"></div>"#);
66
}
67
print_content.push_str(&fixed_content);
68
0 commit comments