Fix periods breaking rendered pages

This commit is contained in:
Sam Carlton 2020-11-12 19:50:51 -06:00
parent d5ae67a792
commit dad8f955d4

View file

@ -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'