This commit is contained in:
Daniel
2023-07-20 12:28:32 +08:00
parent e66bc11b01
commit 58ffe8a3b5

View File

@@ -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
}