mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-02 12:10:04 +08:00
bump 1.5.1
This commit is contained in:
parent
114955558e
commit
1c935b2fd7
@ -1,6 +1,6 @@
|
||||
![logo](_media/icon.svg)
|
||||
|
||||
# docsify <small>1.5.0</small>
|
||||
# docsify <small>1.5.1</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
@ -125,6 +125,7 @@ function slugify (string) {
|
||||
if (!maintainCase) { string = string.toLowerCase(); }
|
||||
|
||||
var slug = string.trim()
|
||||
.replace(/<[^>\d]+>/g, '')
|
||||
.replace(re, '')
|
||||
.replace(/\s/g, replacement);
|
||||
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…
Reference in New Issue
Block a user