TextReplace: Fix Linebreak (#1057)

main
Đỗ Văn Hoài Tuân 2 years ago committed by GitHub
parent 8f61119b99
commit 84371ed456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save