{"action":"created","issue":{"url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/9","labels_url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/9/comments","events_url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/9/events","html_url":"https://github.com/evanplaice/jquery-csv/issues/9","id":105562905,"number":9,"title":"Ignoring empty cells","user":{"login":"evanplaice","id":303159,"avatar_url":"https://avatars.githubusercontent.com/u/303159?v=3","gravatar_id":"","url":"https://api.github.com/users/evanplaice","html_url":"https://github.com/evanplaice","followers_url":"https://api.github.com/users/evanplaice/followers","following_url":"https://api.github.com/users/evanplaice/following{/other_user}","gists_url":"https://api.github.com/users/evanplaice/gists{/gist_id}","starred_url":"https://api.github.com/users/evanplaice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanplaice/subscriptions","organizations_url":"https://api.github.com/users/evanplaice/orgs","repos_url":"https://api.github.com/users/evanplaice/repos","events_url":"https://api.github.com/users/evanplaice/events{/privacy}","received_events_url":"https://api.github.com/users/evanplaice/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/evanplaice/jquery-csv/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/evanplaice/jquery-csv/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/evanplaice/jquery-csv/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/evanplaice/jquery-csv/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/evanplaice/jquery-csv/milestones/1","html_url":"https://github.com/evanplaice/jquery-csv/milestones/backlog","labels_url":"https://api.github.com/repos/evanplaice/jquery-csv/milestones/1/labels","id":1297405,"number":1,"title":"backlog","description":null,"creator":{"login":"evanplaice","id":303159,"avatar_url":"https://avatars.githubusercontent.com/u/303159?v=3","gravatar_id":"","url":"https://api.github.com/users/evanplaice","html_url":"https://github.com/evanplaice","followers_url":"https://api.github.com/users/evanplaice/followers","following_url":"https://api.github.com/users/evanplaice/following{/other_user}","gists_url":"https://api.github.com/users/evanplaice/gists{/gist_id}","starred_url":"https://api.github.com/users/evanplaice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanplaice/subscriptions","organizations_url":"https://api.github.com/users/evanplaice/orgs","repos_url":"https://api.github.com/users/evanplaice/repos","events_url":"https://api.github.com/users/evanplaice/events{/privacy}","received_events_url":"https://api.github.com/users/evanplaice/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-09-09T09:45:31Z","updated_at":"2015-09-09T09:50:19Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-09-09T09:50:19Z","updated_at":"2015-09-09T09:51:05Z","closed_at":null,"body":"_From [Ryan.Txa...@gmail.com](https://code.google.com/u/110036625204772775885/) on September 04, 2012 16:40:43_\n\nFound in most recent versions of Chrome and Firefox.\r\n\r\nTo reproduce:  $.csvEntry2Array(\"1,2,,4\"), which results in [\"1\", \"2\", \"4\"], when ideally we want [\"1\", \"2\", \"\", \"4\"].\r\n\r\nI wrote a patch that works well for me. Here's the patch, but maybe the developer would like to reinclude this as an option, there might be someone who wants empty cells discarded.\r\n\r\n--- a/inc/jquery.csv-0.61.js\r\n+++ b/inc/jquery.csv-0.61.js\r\n@@ -92,6 +92,8 @@ RegExp.escape= function(s) {\r\n         output.push(m1.replace(reDelimiterUnescape, delimiter));\r\n       } else if(typeof m2 === 'string' && m2.length) { // Fix: eval\r\n         output.push(m2);\r\n+      } else if(typeof m0 === 'string' && typeof m1 === 'undefined'\r\n+        output.push(\"\");\r\n       }\r\n       return '';\r\n     });\n\n_Original issue: http://code.google.com/p/jquery-csv/issues/detail?id=8_"},"comment":{"url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/comments/138859725","html_url":"https://github.com/evanplaice/jquery-csv/issues/9#issuecomment-138859725","issue_url":"https://api.github.com/repos/evanplaice/jquery-csv/issues/9","id":138859725,"user":{"login":"evanplaice","id":303159,"avatar_url":"https://avatars.githubusercontent.com/u/303159?v=3","gravatar_id":"","url":"https://api.github.com/users/evanplaice","html_url":"https://github.com/evanplaice","followers_url":"https://api.github.com/users/evanplaice/followers","following_url":"https://api.github.com/users/evanplaice/following{/other_user}","gists_url":"https://api.github.com/users/evanplaice/gists{/gist_id}","starred_url":"https://api.github.com/users/evanplaice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanplaice/subscriptions","organizations_url":"https://api.github.com/users/evanplaice/orgs","repos_url":"https://api.github.com/users/evanplaice/repos","events_url":"https://api.github.com/users/evanplaice/events{/privacy}","received_events_url":"https://api.github.com/users/evanplaice/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T09:51:05Z","updated_at":"2015-09-09T09:51:05Z","body":"_From [evanpla...@gmail.com](https://code.google.com/u/112882755236529658404/) on September 05, 2012 14:12:21_\n\n**Status:** Verified  \n"}}