aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/textReplace.tsx2
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"