⚡ Return document blocks when search hits different block content https://github.com/siyuan-note/siyuan/issues/10584
This commit is contained in:
parent
655d1fb6b9
commit
66c6d71888
1 changed files with 1 additions and 1 deletions
|
@ -1593,7 +1593,7 @@ func fromSQLBlock(sqlBlock *sql.Block, terms string, beforeLen int) (block *Bloc
|
|||
}
|
||||
}
|
||||
|
||||
hPath, _ := markSearch(sqlBlock.HPath, terms, 18)
|
||||
hPath, _ := markSearch(sqlBlock.HPath, "", 18)
|
||||
if !strings.HasPrefix(hPath, "/") {
|
||||
hPath = "/" + hPath
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue