bump 1.5.1
This commit is contained in:
parent
114955558e
commit
1c935b2fd7
3 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||

|

|
||||||
|
|
||||||
# docsify <small>1.5.0</small>
|
# docsify <small>1.5.1</small>
|
||||||
|
|
||||||
> A magical documentation site generator.
|
> A magical documentation site generator.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ function slugify (string) {
|
||||||
if (!maintainCase) { string = string.toLowerCase(); }
|
if (!maintainCase) { string = string.toLowerCase(); }
|
||||||
|
|
||||||
var slug = string.trim()
|
var slug = string.trim()
|
||||||
|
.replace(/<[^>\d]+>/g, '')
|
||||||
.replace(re, '')
|
.replace(re, '')
|
||||||
.replace(/\s/g, replacement);
|
.replace(/\s/g, replacement);
|
||||||
var occurrences = slugify.occurrences[slug];
|
var occurrences = slugify.occurrences[slug];
|
||||||
|
|
|
||||||
4
lib/docsify.min.js
vendored
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue