gitlab-org--gitlab-foss/spec/javascripts/helpers/vue_component_helper.js

3 lines
92 B
JavaScript

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