From e9951af73e255772434c5196626d9f5bbacd2a31 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 24 Jun 2020 21:13:02 -0700 Subject: [PATCH] Fix sidebar scrolling with part titles. --- src/renderer/html_handlebars/helpers/toc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/html_handlebars/helpers/toc.rs b/src/renderer/html_handlebars/helpers/toc.rs index 33857d86..47eda596 100644 --- a/src/renderer/html_handlebars/helpers/toc.rs +++ b/src/renderer/html_handlebars/helpers/toc.rs @@ -101,7 +101,7 @@ impl HelperDef for RenderToc { // Part title if let Some(title) = item.get("part") { - out.write("
  • ")?; + out.write("
  • ")?; out.write(title)?; out.write("
  • ")?; continue;