{"action":"closed","issue":{"url":"https://api.github.com/repos/formvalidation/support/issues/499","repository_url":"https://api.github.com/repos/formvalidation/support","labels_url":"https://api.github.com/repos/formvalidation/support/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/support/issues/499/comments","events_url":"https://api.github.com/repos/formvalidation/support/issues/499/events","html_url":"https://github.com/formvalidation/support/issues/499","id":137207207,"number":499,"title":"email validation with white-spaces before/after","user":{"login":"mcxnet","id":8062159,"avatar_url":"https://avatars.githubusercontent.com/u/8062159?v=3","gravatar_id":"","url":"https://api.github.com/users/mcxnet","html_url":"https://github.com/mcxnet","followers_url":"https://api.github.com/users/mcxnet/followers","following_url":"https://api.github.com/users/mcxnet/following{/other_user}","gists_url":"https://api.github.com/users/mcxnet/gists{/gist_id}","starred_url":"https://api.github.com/users/mcxnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcxnet/subscriptions","organizations_url":"https://api.github.com/users/mcxnet/orgs","repos_url":"https://api.github.com/users/mcxnet/repos","events_url":"https://api.github.com/users/mcxnet/events{/privacy}","received_events_url":"https://api.github.com/users/mcxnet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/formvalidation/support/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-29T10:05:26Z","updated_at":"2016-02-29T15:05:41Z","closed_at":"2016-02-29T15:05:41Z","body":"Hello,\r\nI've a problem with email's validation.\r\nSometimes the users accidently enter some white-space in their email address, e.g. \"test@test.com \" and the form won't submit and has a error message: \"Please enter a valid email address.\".\r\nNon-tech users couldn't understand that there's a white-space before/after and they might just close the site/page rather than try to work out about what they've done wrong.\r\n\r\nIs it possible validate the email with white-space before/after?\r\n\r\nThanks!"}}