{"action":"created","issue":{"url":"https://api.github.com/repos/markdown-it/linkify-it/issues/43","repository_url":"https://api.github.com/repos/markdown-it/linkify-it","labels_url":"https://api.github.com/repos/markdown-it/linkify-it/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/markdown-it/linkify-it/issues/43/comments","events_url":"https://api.github.com/repos/markdown-it/linkify-it/issues/43/events","html_url":"https://github.com/markdown-it/linkify-it/issues/43","id":182295380,"number":43,"title":"Hostnames with hyphens and no TLD are not recognized","user":{"login":"omarestrella","id":228341,"avatar_url":"https://avatars.githubusercontent.com/u/228341?v=3","gravatar_id":"","url":"https://api.github.com/users/omarestrella","html_url":"https://github.com/omarestrella","followers_url":"https://api.github.com/users/omarestrella/followers","following_url":"https://api.github.com/users/omarestrella/following{/other_user}","gists_url":"https://api.github.com/users/omarestrella/gists{/gist_id}","starred_url":"https://api.github.com/users/omarestrella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarestrella/subscriptions","organizations_url":"https://api.github.com/users/omarestrella/orgs","repos_url":"https://api.github.com/users/omarestrella/repos","events_url":"https://api.github.com/users/omarestrella/events{/privacy}","received_events_url":"https://api.github.com/users/omarestrella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T15:25:51Z","updated_at":"2016-10-11T15:32:16Z","closed_at":null,"body":"When you have a hostname that contains no hyphens and no TLD portion (http://localhost), linkify will detect the link and produce the correct anchor tag. When you add a hyphen in the hostname without a TLD (http://local-host), linkify does not recognize it as a link.\r\n\r\nExample: http://markdown-it.github.io/linkify-it/#t1=http%3A%2F%2Fhostname%0Ahttp%3A%2F%2Fhost-name%0Ahttp%3A%2F%2Fhost-name.com"},"comment":{"url":"https://api.github.com/repos/markdown-it/linkify-it/issues/comments/252953061","html_url":"https://github.com/markdown-it/linkify-it/issues/43#issuecomment-252953061","issue_url":"https://api.github.com/repos/markdown-it/linkify-it/issues/43","id":252953061,"user":{"login":"puzrin","id":319465,"avatar_url":"https://avatars.githubusercontent.com/u/319465?v=3","gravatar_id":"","url":"https://api.github.com/users/puzrin","html_url":"https://github.com/puzrin","followers_url":"https://api.github.com/users/puzrin/followers","following_url":"https://api.github.com/users/puzrin/following{/other_user}","gists_url":"https://api.github.com/users/puzrin/gists{/gist_id}","starred_url":"https://api.github.com/users/puzrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzrin/subscriptions","organizations_url":"https://api.github.com/users/puzrin/orgs","repos_url":"https://api.github.com/users/puzrin/repos","events_url":"https://api.github.com/users/puzrin/events{/privacy}","received_events_url":"https://api.github.com/users/puzrin/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T15:32:16Z","updated_at":"2016-10-11T15:32:16Z","body":"Are local hostnames with hyphens valid?"}}
{"actor":{"display_login":"puzrin"}}