🎨 Show notebooks in hpath of block ref search list results https://github.com/siyuan-note/siyuan/issues/9378

This commit is contained in:
Daniel 2023-10-11 09:04:39 +08:00
parent 30b0dd08fa
commit bb04bf9f70
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -223,7 +223,7 @@ func prependNotebookNameInHPath(blocks []*Block) {
boxNames := Conf.BoxNames(boxIDs)
for _, b := range blocks {
name := boxNames[b.Box]
b.HPath = name + b.HPath
b.HPath = util.EscapeHTML(name) + b.HPath
}
}