We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d17e9 commit 31a8f88Copy full SHA for 31a8f88
packages/site-kit/src/lib/markdown/utils.ts
@@ -36,7 +36,7 @@ export const slugify = (str: string) => {
36
.replace(/&.+?;/g, '')
37
.replace(/<\/?.+?>/g, '')
38
.replace(/\.\.\./g, '')
39
- .replace(/[^a-zA-Z0-9-$(.):']/g, '-')
+ .replace(/[^a-zA-Z0-9-$(.):'_]/g, '-')
40
.replace(/-{2,}/g, '-')
41
.replace(/^-/, '')
42
.replace(/-$/, '');
0 commit comments