{"action":"created","issue":{"url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/28","repository_url":"https://api.github.com/repos/iabudiab/HTMLKit","labels_url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/28/comments","events_url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/28/events","html_url":"https://github.com/iabudiab/HTMLKit/issues/28","id":319978997,"number":28,"title":"nextSiblingElement returns itself for any HTMLElement","user":{"login":"CRivlaldo","id":1046502,"avatar_url":"https://avatars3.githubusercontent.com/u/1046502?v=4","gravatar_id":"","url":"https://api.github.com/users/CRivlaldo","html_url":"https://github.com/CRivlaldo","followers_url":"https://api.github.com/users/CRivlaldo/followers","following_url":"https://api.github.com/users/CRivlaldo/following{/other_user}","gists_url":"https://api.github.com/users/CRivlaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/CRivlaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CRivlaldo/subscriptions","organizations_url":"https://api.github.com/users/CRivlaldo/orgs","repos_url":"https://api.github.com/users/CRivlaldo/repos","events_url":"https://api.github.com/users/CRivlaldo/events{/privacy}","received_events_url":"https://api.github.com/users/CRivlaldo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T15:50:41Z","updated_at":"2018-05-03T18:11:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"HTMLNode.m, line 128\r\n\r\n```\r\n- (HTMLElement *)nextSiblingElement\r\n{\r\n\tHTMLNode *node = self.previousSibling;\r\n\twhile (node && node.nodeType != HTMLNodeElement) {\r\n\t\tnode = node.nextSibling;\r\n\t}\r\n\treturn node.asElement;\r\n}\r\n```\r\n\r\nBecause of an iteration starts with a previous element the next sibling element it the element itself. Possibly a typo."},"comment":{"url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/comments/386387160","html_url":"https://github.com/iabudiab/HTMLKit/issues/28#issuecomment-386387160","issue_url":"https://api.github.com/repos/iabudiab/HTMLKit/issues/28","id":386387160,"user":{"login":"iabudiab","id":5612057,"avatar_url":"https://avatars3.githubusercontent.com/u/5612057?v=4","gravatar_id":"","url":"https://api.github.com/users/iabudiab","html_url":"https://github.com/iabudiab","followers_url":"https://api.github.com/users/iabudiab/followers","following_url":"https://api.github.com/users/iabudiab/following{/other_user}","gists_url":"https://api.github.com/users/iabudiab/gists{/gist_id}","starred_url":"https://api.github.com/users/iabudiab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iabudiab/subscriptions","organizations_url":"https://api.github.com/users/iabudiab/orgs","repos_url":"https://api.github.com/users/iabudiab/repos","events_url":"https://api.github.com/users/iabudiab/events{/privacy}","received_events_url":"https://api.github.com/users/iabudiab/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T18:11:37Z","updated_at":"2018-05-03T18:11:37Z","author_association":"OWNER","body":"@CRivlaldo Nice catch! Thanks for the fix. Will release soon."}}
{"actor":{"display_login":"iabudiab"}}