{"action":"opened","issue":{"url":"https://api.github.com/repos/gandm/language-babel/issues/84","labels_url":"https://api.github.com/repos/gandm/language-babel/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/gandm/language-babel/issues/84/comments","events_url":"https://api.github.com/repos/gandm/language-babel/issues/84/events","html_url":"https://github.com/gandm/language-babel/issues/84","id":107950104,"number":84,"title":"When mixing self-terminating and closing-tag elements, tag pairing breaks","user":{"login":"patrys","id":81205,"avatar_url":"https://avatars.githubusercontent.com/u/81205?v=3","gravatar_id":"","url":"https://api.github.com/users/patrys","html_url":"https://github.com/patrys","followers_url":"https://api.github.com/users/patrys/followers","following_url":"https://api.github.com/users/patrys/following{/other_user}","gists_url":"https://api.github.com/users/patrys/gists{/gist_id}","starred_url":"https://api.github.com/users/patrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrys/subscriptions","organizations_url":"https://api.github.com/users/patrys/orgs","repos_url":"https://api.github.com/users/patrys/repos","events_url":"https://api.github.com/users/patrys/events{/privacy}","received_events_url":"https://api.github.com/users/patrys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T15:49:10Z","updated_at":"2015-09-23T15:49:10Z","closed_at":null,"body":"Consider the following two examples of JSX:\r\n\r\n```\r\n<example>\r\n    <foo>\r\n        <foo/>\r\n    </foo>\r\n</example>\r\n```\r\nIn this case placing the cursor anywhere between the opening and closing `foo` tag, highlights the correct pair.\r\n\r\n```\r\n<example>\r\n    <foo>\r\n        <foo a=\"b\"/>\r\n    </foo>\r\n</example>\r\n```\r\nThis example has an extra attribute (but adding a single space before the terminator is enough to trigger). Atom will incorrectly pair the self-closing element with with a closing tag of the outer `foo` element."}}