Keyang/node-csvtojson — pull request #22 by jessica-azgs (2014-06-18 16:32:46+00:00)
Title: fixed removal of delimiters in quoted element and premature trim

When the elements are separated based on a delimiter and then joined again (if the element was originally quoted) the delimiter is not added back in. So for example `"Many types of citrus are available, including oranges, white grapefruit, tangelos, and lemons."` became `"notes":"Many types of citrus are availableincluding orangeswhite grapefruittangelos,and lemons."` in json. The trim, if set to true, was also done before the quoted elements were joined back together so the whitespacing ended up incorrect. This pull requests fixes these two minor issues.