diff --git a/server/public/index.html b/server/public/index.html index e4448d2..8d4e4f4 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -48,8 +48,7 @@ ariaHidden: true }), // prepend current file id to the anchor permalink - slugify: s => `${getId() ?? ""}-${encodeURIComponent(String(s).trim().toLowerCase().normalize("NFKD").replace(/\p{M}/g, "").replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "") - )}` + slugify: s => `${getId() ?? ""}-${encodeURIComponent(String(s).trim().toLowerCase().normalize("NFKD").replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, ""))}` }); md.use(markdownitFootnote);