mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve find-replace spaces https://github.com/siyuan-note/siyuan/issues/14924
This commit is contained in:
parent
e66b669dc3
commit
cf8acfa633
1 changed files with 0 additions and 1 deletions
|
@ -1042,7 +1042,6 @@ func replaceTextNode(text *ast.Node, method int, keyword string, replacement str
|
|||
for _, k := range keywords {
|
||||
lowerKeywords = append(lowerKeywords, strings.ToLower(k))
|
||||
}
|
||||
lowerKeywords = gulu.Str.RemoveDuplicatedElem(lowerKeywords)
|
||||
keyword = strings.Join(lowerKeywords, " ")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue