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 81cfea7 commit 3006ee0Copy full SHA for 3006ee0
packages/site-kit/src/lib/markdown/utils.ts
@@ -49,9 +49,8 @@ export function escape(html: string, encode = false) {
49
50
export function slugify(title: string) {
51
return title
52
- .toLowerCase()
53
.replace(/&.+;/g, '')
54
- .replace(/[^a-z0-9-$(.):<>]/g, '-')
+ .replace(/[^a-zA-Z0-9-$(.):]/g, '-')
55
.replace(/-{2,}/g, '-')
56
.replace(/^-/, '')
57
.replace(/-$/, '');
0 commit comments