This commit is contained in:
Daniel 2023-09-20 10:45:09 +08:00
parent 752f28d699
commit f98be60aa5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -215,9 +215,7 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strin
return
}
keyword = strings.TrimSpace(keyword)
replacement = strings.TrimSpace(replacement)
// No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229
if keyword == replacement {
return
}