bump 1.5.1

This commit is contained in:
qingwei.li 2017-01-09 17:50:43 +08:00
parent 114955558e
commit 1c935b2fd7
3 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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

File diff suppressed because one or more lines are too long