Looks like the simple fix is for the split to look for both CRLF and LF.
angular.forEach(newVal.split(/\r?\n/)
That solves the issues with spaces and newlines for me.
I'll create a branch.
Josh
Looks like the simple fix is for the split to look for both CRLF and LF.
angular. forEach( newVal. split(/ \r?\n/)
That solves the issues with spaces and newlines for me.
I'll create a branch.
Josh