mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
Merge pull request #19 from jackyzha0/dev
This commit is contained in:
commit
3ce308411e
3
util.go
3
util.go
@ -27,7 +27,8 @@ func processTarget(source string) string {
|
||||
res, _ = url.PathUnescape(res)
|
||||
res = strings.Split(res, "#")[0]
|
||||
res = strings.TrimSpace(res)
|
||||
return UnicodeSanitize(res)
|
||||
res = UnicodeSanitize(res)
|
||||
return strings.ReplaceAll(url.PathEscape(res), "%2F", "/")
|
||||
}
|
||||
|
||||
func processSource(source string) string {
|
||||
|
Loading…
Reference in New Issue
Block a user