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 cf60355 commit d82e7b0Copy full SHA for d82e7b0
renderer/src/main.rs
@@ -309,7 +309,7 @@ fn gen_single_page(path: &mut PathBuf, base_url: &Url) -> Result<()> {
309
310
// Discard lines until the end of the script.
311
// Also, check if this does discard lines; if this discards none, we have a problem.
312
- let mut auto_printer_script_lines = lines.by_ref().take_while(|line| {
+ let auto_printer_script_lines = lines.by_ref().take_while(|line| {
313
line.as_ref().map_or(true, |line| {
314
// HACK: this relies on the exact formatting of the auto-printer's script end tag
315
line.trim_start() != "</script>"
0 commit comments