🎨 Ignore * back mentions and virtual references Fix https://github.com/siyuan-note/siyuan/issues/10873

This commit is contained in:
Daniel 2024-04-04 21:11:12 +08:00
parent 66e2b0eaa7
commit 44d41a0856
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -275,7 +275,7 @@ func prepareMarkKeywords(keywords []string) (ret []string) {
ret = gulu.Str.RemoveDuplicatedElem(keywords) ret = gulu.Str.RemoveDuplicatedElem(keywords)
var tmp []string var tmp []string
for _, k := range ret { for _, k := range ret {
if "" != k { if "" != k && "*" != k { // 提及和虚引排除 * Ignore `*` back mentions and virtual references https://github.com/siyuan-note/siyuan/issues/10873
tmp = append(tmp, k) tmp = append(tmp, k)
} }
} }