-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra space character is added when using withBOM: true #190
Comments
+1 |
Would the fix be as simple as removing the space on that line? Or would that break the BOM? |
@knownasilya removing the space won't break the BOM and it's as simple as just deleting it from this string. |
I guess the question is, why was it not caught in the test, https://github.com/zemirco/json2csv/blob/master/test/index.js#L720 Feel free to submit a PR with modified test |
Any reason why this is still open? |
Good catch |
When adding BOM to the CSV output there's an extra space character. This makes Excel show the first cell with quotes.
Code sample
CSV output
The text was updated successfully, but these errors were encountered: