triplingual / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TsvCsvImporter should support a file using \r line endings #464

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/src/webapp/a
pi/scripts/data/importers/tsv-csv-importer.js#116
This line should use this regular expression:
text = text.replace(/\r\n?/g,"\n"); //normalize newline to \n

Original issue reported on code.google.com by David.W....@gmail.com on 21 Dec 2011 at 3:47

GoogleCodeExporter commented 8 years ago
Fixed in source; will push to trunk soon.

Original comment by david.ka...@gmail.com on 23 Dec 2011 at 7:07

GoogleCodeExporter commented 8 years ago

Original comment by david.ka...@gmail.com on 27 Dec 2011 at 8:40