From f40be96088826cfcd080d63bd7e35765bc2e48d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Wed, 15 Nov 2023 17:06:01 +0100 Subject: [PATCH] directory/index.md creates the directory/ URL. --- src/render.ts | 2 +- test/output/build/multi/index.html | 2 +- test/output/build/multi/subsection/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/render.ts b/src/render.ts index fd5cd1f19..093ec6d40 100644 --- a/src/render.ts +++ b/src/render.ts @@ -149,7 +149,7 @@ ${parseResult.html} function renderListItem(p: Page, path: string): string { return `
  • ${escapeData( + }">${escapeData( p.name )}
  • `; } diff --git a/test/output/build/multi/index.html b/test/output/build/multi/index.html index 5aed50972..dc9dbf850 100644 --- a/test/output/build/multi/index.html +++ b/test/output/build/multi/index.html @@ -28,7 +28,7 @@ diff --git a/test/output/build/multi/subsection/index.html b/test/output/build/multi/subsection/index.html index a2ccaa942..3b7956e51 100644 --- a/test/output/build/multi/subsection/index.html +++ b/test/output/build/multi/subsection/index.html @@ -15,7 +15,7 @@