From dad8f955d46e0c47a2e655a8af2a77f2dcdfe4de Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 12 Nov 2020 19:50:51 -0600 Subject: [PATCH] Fix periods breaking rendered pages --- helpers/build-app-list.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helpers/build-app-list.js b/helpers/build-app-list.js index 1beadd1..3b2caa2 100644 --- a/helpers/build-app-list.js +++ b/helpers/build-app-list.js @@ -88,7 +88,8 @@ export default async function () { if (isHeading && token.type === 'inline') { sectionTitle = token.content sectionSlug = slugify(token.content, { - lower: true + lower: true, + strict: true }) // appList[sectionSlug] = [] @@ -103,7 +104,8 @@ export default async function () { const [ name, url ] = link.substring(1, link.length-1).split('](') const appSlug = slugify(name, { - lower: true + lower: true, + strict: true }) let status = 'unknown'