mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Trim space in dialynote/block ref/new doc save path https://github.com/siyuan-note/siyuan/issues/14482
This commit is contained in:
parent
8554804ae2
commit
2a839f9086
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func createDocsByHPath(boxID, hPath, content, parentID, id string) (retID string
|
|||
retID = id
|
||||
|
||||
hPath = strings.TrimSuffix(hPath, ".sy")
|
||||
hPath = util.TrimSpaceInPath(hPath)
|
||||
if "" != parentID {
|
||||
// The save path is incorrect when creating a sub-doc by ref in a doc with the same name https://github.com/siyuan-note/siyuan/issues/8138
|
||||
// 在指定了父文档 ID 的情况下优先查找父文档
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue