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 return
} }
keyword = strings.TrimSpace(keyword) // No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229
replacement = strings.TrimSpace(replacement)
if keyword == replacement { if keyword == replacement {
return return
} }