diff --git a/templates/modern/src/toc.ts b/templates/modern/src/toc.ts index 66261ea885e..4c4bfcc996a 100644 --- a/templates/modern/src/toc.ts +++ b/templates/modern/src/toc.ts @@ -114,7 +114,7 @@ export async function renderToc(): Promise { const isExpanded = (tocFilter !== '' && expanded !== false && children != null) || expanded === true return html` -
  • +
  • ${isLeaf ? null : html``} ${dom} ${children}