mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 Fix backmention highlighting https://github.com/siyuan-note/siyuan/issues/13324
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user