small fixes
This commit is contained in:
		| @ -21,6 +21,9 @@ class ExtractResult { | ||||
|         let data = rowsCount > 0 ? this._data.slice(0, rowsCount) : this._data; | ||||
|         return data.slice().reduce( | ||||
|             (csv, lineCells) => { | ||||
|                 if (!lineCells || !lineCells.length) { | ||||
|                     return csv + "\n"; | ||||
|                 } | ||||
|                 let line = lineCells.reduce( | ||||
|                     (lineText, cell, idx) => { | ||||
|                         cell = '"' + cell.trim().replace(/"/g, '""') + '"'; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user