bump: 3.6.5
This commit is contained in:
parent
51832d3506
commit
ee54141776
3 changed files with 9 additions and 4 deletions
|
|
@ -1,7 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 3.6.4 / 2017-04-28
|
||||
## 3.6.5 / 2017-04-28
|
||||
|
||||
* fix(util): fix crash, fixed ([#154](https://github.com/QingWei-Li/docsify/issues/154)
|
||||
|
||||
## 3.6.4 / 2017-04-28
|
||||
|
||||
* fix(util): correctly clean up duplicate slashes, fixed ([#153](https://github.com/QingWei-Li/docsify/issues/153)
|
||||
|
||||
|
|
|
|||
|
|
@ -314,7 +314,9 @@ var getParentPath = cached(function (path) {
|
|||
});
|
||||
|
||||
var cleanPath = cached(function (path) {
|
||||
return path.replace(/([^:])\/{2,}/g, '$1/')
|
||||
return path
|
||||
.replace(/^\/+/, '/')
|
||||
.replace(/([^:])\/{2,}/g, '$1/')
|
||||
});
|
||||
|
||||
function replaceHash (path) {
|
||||
|
|
|
|||
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