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