Skip to content

Commit 1c55976

Browse files
committed
Don't replace leading digit
1 parent 3cd03d4 commit 1c55976

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/render/slugify.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function slugify(str) {
1919
.replace(re, '')
2020
.replace(/\s/g, '-')
2121
.replace(/-+/g, '-')
22-
.replace(/^(\d)/, '_$1')
2322
let count = cache[slug]
2423

2524
count = hasOwn.call(cache, slug) ? count + 1 : 0

0 commit comments

Comments
 (0)