{"action":"created","issue":{"url":"https://api.github.com/repos/TheFive/osmbc/issues/164","labels_url":"https://api.github.com/repos/TheFive/osmbc/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/TheFive/osmbc/issues/164/comments","events_url":"https://api.github.com/repos/TheFive/osmbc/issues/164/events","html_url":"https://github.com/TheFive/osmbc/issues/164","id":117065560,"number":164,"title":"Accented char breaks the hyperlink generating","user":{"login":"alexandre-mbm","id":957501,"avatar_url":"https://avatars.githubusercontent.com/u/957501?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandre-mbm","html_url":"https://github.com/alexandre-mbm","followers_url":"https://api.github.com/users/alexandre-mbm/followers","following_url":"https://api.github.com/users/alexandre-mbm/following{/other_user}","gists_url":"https://api.github.com/users/alexandre-mbm/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandre-mbm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandre-mbm/subscriptions","organizations_url":"https://api.github.com/users/alexandre-mbm/orgs","repos_url":"https://api.github.com/users/alexandre-mbm/repos","events_url":"https://api.github.com/users/alexandre-mbm/events{/privacy}","received_events_url":"https://api.github.com/users/alexandre-mbm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T07:03:16Z","updated_at":"2015-11-17T18:37:33Z","closed_at":null,"body":"Continuing #29 like #143, a wrong result: \r\n\r\n- [ ] Example 1: [Antuérpia](https://pt.wikipedia.org/wiki/Antu%C3%A9rpia)\r\n```md\r\n[Antué](https://pt.wikipedia.org/wiki/Antu%C3%A9)rpia\r\n```\r\n\r\nCertainly the `é` is out of the _regex_.\r\n\r\n---\r\n\r\nOther cases unwanted:\r\n- [ ] Example 2: [Paul Norman](https://github.com/pnorman)\r\n```md\r\n[Paul N](https://github.com/pn)orman\r\n```\r\n- [ ] Example 3: [dia internacional das pessoas com deficiência](https://pt.wikipedia.org/wiki/Dia_internacional_das_pessoas_com_defici%C3%AAncia)\r\n```md\r\n[dia internacional das pessoas com deficiê](https://pt.wikipedia.org/wiki/Dia_internacional_das_pessoas_com_defici%C3%AA)ncia\r\n```\r\n- [ ] Example 4: [Georreferenciamento](https://pt.wikipedia.org/wiki/Georreferenciamento)\r\n```md\r\n[](https://pt.wikipedia.org/wiki/)Georreferenciamento\r\n```\r\n- [ ] Example 5: [georreferenciamento](https://pt.wikipedia.org/wiki/Georreferenciamento)\r\n```md\r\n[g](https://pt.wikipedia.org/wiki/G)eorreferenciamento\r\n```"},"comment":{"url":"https://api.github.com/repos/TheFive/osmbc/issues/comments/157463813","html_url":"https://github.com/TheFive/osmbc/issues/164#issuecomment-157463813","issue_url":"https://api.github.com/repos/TheFive/osmbc/issues/164","id":157463813,"user":{"login":"TheFive","id":6240370,"avatar_url":"https://avatars.githubusercontent.com/u/6240370?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFive","html_url":"https://github.com/TheFive","followers_url":"https://api.github.com/users/TheFive/followers","following_url":"https://api.github.com/users/TheFive/following{/other_user}","gists_url":"https://api.github.com/users/TheFive/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFive/subscriptions","organizations_url":"https://api.github.com/users/TheFive/orgs","repos_url":"https://api.github.com/users/TheFive/repos","events_url":"https://api.github.com/users/TheFive/events{/privacy}","received_events_url":"https://api.github.com/users/TheFive/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T18:37:33Z","updated_at":"2015-11-17T18:37:33Z","body":"If you have a suggestion for the Regex ? \r\n\r\n function isURL(t) {\r\n    \r\n      var isUrlRegex = /^(http|ftp|https):\\/\\/[\\w-]+(\\.[\\w-]+)+([\\w.,@?^=%&amp;:\\/~+#-]*[\\w@?^=%&amp;\\/~+#-])?/\r\n\r\n\r\n      if (t) return isUrlRegex.test(t);\r\n      return isUrlRegex;\r\n    }\r\n\r\n"}}