debian-mirror-gitlab/spec/javascripts/helpers/vue_component_helper.js

4 lines
92 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
export default function removeBreakLine (data) {
return data.replace(/\r?\n|\r/g, ' ');
}