12 lines
226 B
JavaScript
12 lines
226 B
JavaScript
/**
|
|
* Created by tmshv on 21/11/14.
|
|
*/
|
|
|
|
module.exports = function(app) {
|
|
app.filter("removeNewline", function () {
|
|
return function(string) {
|
|
return string.replace(/(\n)/g, ' ');
|
|
};
|
|
});
|
|
};
|