mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Ignore * back mentions and virtual references Fix https://github.com/siyuan-note/siyuan/issues/10873
This commit is contained in:
parent
66e2b0eaa7
commit
44d41a0856
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue