debian-mirror-gitlab/spec/javascripts/helpers/vue_component_helper.js
2018-05-09 12:01:36 +05:30

3 lines
92 B
JavaScript

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