mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-10 22:06:24 +10:00
bump 1.5.2
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
# docsify <small>1.5.1</small>
|
||||
# docsify <small>1.5.2</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
||||
+3
-1
@@ -127,7 +127,9 @@ function slugify (string) {
|
||||
var slug = string.trim()
|
||||
.replace(/<[^>\d]+>/g, '')
|
||||
.replace(re, '')
|
||||
.replace(/\s/g, replacement);
|
||||
.replace(/\s/g, replacement)
|
||||
.replace(/-+/g, replacement)
|
||||
.replace(/^(\d)/, '_$1');
|
||||
var occurrences = slugify.occurrences[slug];
|
||||
|
||||
if (slugify.occurrences.hasOwnProperty(slug)) {
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user