mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +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
|
|
@ -1080,6 +1080,7 @@ func CreateDailyNote(boxID string) (p string, existed bool, err error) {
|
|||
|
||||
FlushTxQueue()
|
||||
|
||||
hPath = util.TrimSpaceInPath(hPath)
|
||||
existRoot := treenode.GetBlockTreeRootByHPath(box.ID, hPath)
|
||||
if nil != existRoot {
|
||||
existed = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue