didiermascarelli/simile-widgets

TsvCsvImporter should support a file using \r line endings

Closed this issue · 2 comments

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

Fixed in source; will push to trunk soon.

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

  • Changed state: Started

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

  • Changed state: Fixed