mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 03:50:16 +08:00
🎨 No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229 Fix https://github.com/siyuan-note/siyuan/issues/9229
This commit is contained in:
parent
752f28d699
commit
f98be60aa5
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user