mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 No longer replace \ with / in paths
This commit is contained in:
parent
dd3e738c9c
commit
4ce17604ea
1 changed files with 0 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ var (
|
|||
)
|
||||
|
||||
func TrimSpaceInPath(p string) string {
|
||||
p = strings.ReplaceAll(p, "\\", "/")
|
||||
parts := strings.Split(p, "/")
|
||||
for i, part := range parts {
|
||||
parts[i] = strings.TrimSpace(part)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue