{"action":"opened","issue":{"url":"https://api.github.com/repos/rickharrison/validate.js/issues/129","labels_url":"https://api.github.com/repos/rickharrison/validate.js/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/rickharrison/validate.js/issues/129/comments","events_url":"https://api.github.com/repos/rickharrison/validate.js/issues/129/events","html_url":"https://github.com/rickharrison/validate.js/issues/129","id":54184829,"number":129,"title":"valid_emails check is not forgiving of spaces","user":{"login":"benbrowning","id":985529,"avatar_url":"https://avatars.githubusercontent.com/u/985529?v=3","gravatar_id":"","url":"https://api.github.com/users/benbrowning","html_url":"https://github.com/benbrowning","followers_url":"https://api.github.com/users/benbrowning/followers","following_url":"https://api.github.com/users/benbrowning/following{/other_user}","gists_url":"https://api.github.com/users/benbrowning/gists{/gist_id}","starred_url":"https://api.github.com/users/benbrowning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbrowning/subscriptions","organizations_url":"https://api.github.com/users/benbrowning/orgs","repos_url":"https://api.github.com/users/benbrowning/repos","events_url":"https://api.github.com/users/benbrowning/events{/privacy}","received_events_url":"https://api.github.com/users/benbrowning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-13T12:09:49Z","updated_at":"2015-01-13T12:09:49Z","closed_at":null,"body":"As I understand it the valid_emails rule checks that a comma separated list of emails are all valid emails. From a ux point of view it would be nice if this allowed spaces after commas as that is a common way to enter a comma separated list. At the moment, this passes:\r\ntest@test1.com,test@test2.com\r\nbut this fails:\r\ntest@test1.com, test@test2.com\r\n- which is probably how most users would enter a comma separated list of emails."}}