{"action":"closed","issue":{"url":"https://api.github.com/repos/gajus/table/issues/29","repository_url":"https://api.github.com/repos/gajus/table","labels_url":"https://api.github.com/repos/gajus/table/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/gajus/table/issues/29/comments","events_url":"https://api.github.com/repos/gajus/table/issues/29/events","html_url":"https://github.com/gajus/table/issues/29","id":194612519,"number":29,"title":"Newline not allowed in column data","user":{"login":"shellscape","id":76371,"avatar_url":"https://avatars.githubusercontent.com/u/76371?v=3","gravatar_id":"","url":"https://api.github.com/users/shellscape","html_url":"https://github.com/shellscape","followers_url":"https://api.github.com/users/shellscape/followers","following_url":"https://api.github.com/users/shellscape/following{/other_user}","gists_url":"https://api.github.com/users/shellscape/gists{/gist_id}","starred_url":"https://api.github.com/users/shellscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellscape/subscriptions","organizations_url":"https://api.github.com/users/shellscape/orgs","repos_url":"https://api.github.com/users/shellscape/repos","events_url":"https://api.github.com/users/shellscape/events{/privacy}","received_events_url":"https://api.github.com/users/shellscape/received_events","type":"User","site_admin":false},"labels":[{"id":259265499,"url":"https://api.github.com/repos/gajus/table/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":259265502,"url":"https://api.github.com/repos/gajus/table/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T14:43:13Z","updated_at":"2016-12-09T15:09:40Z","closed_at":"2016-12-09T15:09:40Z","body":"Considering the following row array:\r\n\r\n```js\r\nlet rows = [\r\n  [chalk.blue('foobar'), 'The quick brown fox'],\r\n  [chalk.blue('barbaz'), 'Jumps over\\nthe lazy dog'],\r\n  [chalk.blue('lorem'), 'ipsum']\r\n];\r\n```\r\n\r\nCalling `table` results in the following error: `Error: Table data must not contain control characters.`\r\n\r\nChecked the readme and there's nothing about this error. Does this module restrict newlines (and other control characters) in column values, or am I missing something and am a big dummy?"}}
{"actor":{"display_login":"gajus"}}