🐛 Fix backmention highlighting https://github.com/siyuan-note/siyuan/issues/13324
This commit is contained in:
parent
6c7c737178
commit
2292f1a0a5
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ func GetBackmentionDoc(defID, refTreeID, keyword string, containChildren bool) (
|
|||
}
|
||||
mentionBlockIDs = gulu.Str.RemoveDuplicatedElem(mentionBlockIDs)
|
||||
|
||||
mentionKeywords = strings.Split(keyword, " ")
|
||||
if "" != keyword {
|
||||
mentionKeywords = append(mentionKeywords, strings.Split(keyword, " ")...)
|
||||
}
|
||||
mentionKeywords = gulu.Str.RemoveDuplicatedElem(mentionKeywords)
|
||||
|
||||
var refTree *parse.Tree
|
||||
|
|
Loading…
Add table
Reference in a new issue