🎨 Improve find replace https://github.com/siyuan-note/siyuan/issues/8771
This commit is contained in:
parent
e66bc11b01
commit
58ffe8a3b5
1 changed files with 3 additions and 0 deletions
|
@ -215,6 +215,9 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strin
|
|||
return
|
||||
}
|
||||
|
||||
keyword = strings.TrimSpace(keyword)
|
||||
replacement = strings.TrimSpace(replacement)
|
||||
|
||||
if keyword == replacement {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue