replace \r
This commit is contained in:
parent
5b7b4ec10b
commit
b3b080b22c
@ -350,7 +350,7 @@ export const useFormatter = defineStore('formatter', {
|
||||
}
|
||||
},
|
||||
multiLine(v: string) {
|
||||
return v ? v.replaceAll('\\n', '\n') : '';
|
||||
return v ? v.replace(/\\n|\\r/g, '\n') : '';
|
||||
},
|
||||
hexToString(hex: string) {
|
||||
if (hex) {
|
||||
|
Loading…
Reference in New Issue
Block a user