mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-12 23:06:11 +02:00
Fix a bug in html_single when it one_chapter is set to true
This commit is contained in:
parent
6df67ded03
commit
3d734c9ff6
|
@ -277,6 +277,7 @@ impl<'a> HtmlSingleRenderer<'a> {
|
|||
.into(),
|
||||
);
|
||||
data.insert("style".into(), css.into());
|
||||
data.insert("script".into(), js.into()); // Need to override this for html_single
|
||||
data.insert(
|
||||
"print_style".into(),
|
||||
self.html.book.get_template("html.css.print").unwrap().into(),
|
||||
|
|
Loading…
Reference in New Issue