Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Table function does not handle inputs with commas #105

Closed
evelynccordner opened this issue Jun 6, 2019 · 1 comment · Fixed by #125
Closed

Table function does not handle inputs with commas #105

evelynccordner opened this issue Jun 6, 2019 · 1 comment · Fixed by #125

Comments

@evelynccordner
Copy link

The table function does not properly handle inputs with commas when csv = true.

Example:

    cli.table(
      [
        {index: 1, text: 'test'},
        {index: 2, text: 'test, test'},
        {index: 3, text: 'test, test, test'},
      ],
      {
        index: {header: 'Index'},
        text: {header: 'Text'},
      },
      {csv: true},
    );

Expected Output:
Screen Shot 2019-06-06 at 11 34 25 AM

Received Output:
Screen Shot 2019-06-06 at 11 33 35 AM

@RasPhilCo
Copy link
Contributor

Ooh no good!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants