diff options
Diffstat (limited to 'src/plugins/textReplace.tsx')
-rw-r--r-- | src/plugins/textReplace.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/textReplace.tsx b/src/plugins/textReplace.tsx index 431b129..b685f80 100644 --- a/src/plugins/textReplace.tsx +++ b/src/plugins/textReplace.tsx @@ -153,7 +153,7 @@ function TextReplace({ title, rulesArray, rulesKey }: TextReplaceProps) { <Input placeholder="Replace" initialValue={rule.replace} - onChange={e => onChange(e, index, "replace")} + onChange={e => onChange(e.replaceAll("\\n", "\n"), index, "replace")} /> <Input placeholder="Only if includes" |