[build] 4.3.8
This commit is contained in:
parent
9b4e6669db
commit
25acd8ce77
5 changed files with 11 additions and 8 deletions
|
|
@ -2694,13 +2694,16 @@ function genTree (toc, maxLevel) {
|
|||
var cache$1 = {};
|
||||
var re = /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@\[\]^`{|}~]/g;
|
||||
|
||||
function lower (string) {
|
||||
return string.toLowerCase()
|
||||
}
|
||||
|
||||
function slugify (str) {
|
||||
if (typeof str !== 'string') { return '' }
|
||||
|
||||
str = /^[\w\s]+$/g.test(str) ? str.toLowerCase() : str;
|
||||
|
||||
var slug = str
|
||||
.trim()
|
||||
.replace(/[A-Z]+/g, lower)
|
||||
.replace(/<[^>\d]+>/g, '')
|
||||
.replace(re, '')
|
||||
.replace(/\s/g, '-')
|
||||
|
|
@ -3976,7 +3979,7 @@ initGlobalAPI();
|
|||
/**
|
||||
* Version
|
||||
*/
|
||||
Docsify.version = '4.3.7';
|
||||
Docsify.version = '4.3.8';
|
||||
|
||||
/**
|
||||
* Run Docsify
|
||||
|
|
|
|||
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