When importing a text file like this https://i.sstatic.net/uixNp.jpg, the date will be formatted as shown here: https://i.sstatic.net/p90lC.jpg. After formatting, an automatically exports a notepad containing the new formatted date.
However, the issue is that the line breaks are not working correctly in the exported notepad, resulting in a layout like this: https://i.sstatic.net/kF6NF.jpg.
The code for the string currently looks like this:
var fileText = $scope.list[0]+"\n"
+$scope.list[1]+"\n"
+$scope.list[2]+"\n"
+$scope.list[3]+"\n"
+$scope.list[4]+"\n"
+$scope.list[5]+"\n"
+$scope.list[6]+"\n"
+$scope.list[7]+"\n"
+$scope.list[8]+"\n"
+$scope.list[9]+"\n"
+$scope.list[10]+"\n";
Is there another method to properly insert a line break?