mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-15 16:26:07 +10:00
bump: 3.6.6
This commit is contained in:
+1
-1
@@ -329,7 +329,7 @@ function replaceHash (path) {
|
||||
var replaceSlug = cached(function (path) {
|
||||
return path
|
||||
.replace('#', '?id=')
|
||||
.replace(/\?(\w+)=/g, function (_, slug) { return slug === 'id' ? '?id=' : ("&" + slug + "="); })
|
||||
// .replace(/\?(\w+)=/g, (_, slug) => slug === 'id' ? '?id=' : `&${slug}=`)
|
||||
});
|
||||
/**
|
||||
* Normalize the current url
|
||||
|
||||
Reference in New Issue
Block a user