mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +01:00
🎨 Heading convert to doc does not use naming as doc name https://github.com/siyuan-note/siyuan/issues/8959
This commit is contained in:
parent
0635af2fc5
commit
b64ef60261
2 changed files with 4 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ func Heading2Doc(srcHeadingID, targetBoxID, targetPath string) (srcRootBlockID,
|
|||
}
|
||||
|
||||
box := Conf.Box(targetBoxID)
|
||||
headingText := getNodeRefText(headingNode)
|
||||
headingText := getNodeRefText0(headingNode)
|
||||
headingText = util.FilterFileName(headingText)
|
||||
|
||||
moveToRoot := "/" == targetPath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue