4 lines
92 B
JavaScript
4 lines
92 B
JavaScript
|
export default function removeBreakLine (data) {
|
||
|
return data.replace(/\r?\n|\r/g, ' ');
|
||
|
}
|