{"action":"opened","number":101,"pull_request":{"url":"https://api.github.com/repos/sublimehq/Packages/pulls/101","id":47599995,"html_url":"https://github.com/sublimehq/Packages/pull/101","diff_url":"https://github.com/sublimehq/Packages/pull/101.diff","patch_url":"https://github.com/sublimehq/Packages/pull/101.patch","issue_url":"https://api.github.com/repos/sublimehq/Packages/issues/101","number":101,"state":"open","locked":false,"title":"[HTML] Improve completions for empty elements","user":{"login":"philipbordallo","id":9970403,"avatar_url":"https://avatars.githubusercontent.com/u/9970403?v=3","gravatar_id":"","url":"https://api.github.com/users/philipbordallo","html_url":"https://github.com/philipbordallo","followers_url":"https://api.github.com/users/philipbordallo/followers","following_url":"https://api.github.com/users/philipbordallo/following{/other_user}","gists_url":"https://api.github.com/users/philipbordallo/gists{/gist_id}","starred_url":"https://api.github.com/users/philipbordallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipbordallo/subscriptions","organizations_url":"https://api.github.com/users/philipbordallo/orgs","repos_url":"https://api.github.com/users/philipbordallo/repos","events_url":"https://api.github.com/users/philipbordallo/events{/privacy}","received_events_url":"https://api.github.com/users/philipbordallo/received_events","type":"User","site_admin":false},"body":"## [HTML] Improve completions for empty elements\r\n\r\n\r\nSome [empty elements](https://developer.mozilla.org/en-US/docs/Glossary/empty_element) are completing with a closing element.\r\n\r\nFor example `area` is currently completing to:\r\n\r\n```html\r\n<area></area>\r\n```\r\n\r\nWhen it should be completing to:\r\n\r\n```html\r\n<area>\r\n```\r\n\r\nThis will fix completions for: `<area>`, `<col>`, `<base>`, `<meta>`, `<hr>`, `<br>`, `<wbr>`, `<input>`.\r\n\r\n\r\n`meta`'s completion will render as:\r\n\r\n```html\r\n<meta charset=\"utf-8\">\r\n      ^-------------^\r\n       Selected Text\r\n```\r\n\r\nWhich means a `tab` keypress will jump to after the `>`, completing the example or a `delete` keypress will remove the example and allow for another attribute input. This way it's easier to input something other than just the default.","created_at":"2015-10-13T23:01:47Z","updated_at":"2015-10-13T23:01:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sublimehq/Packages/pulls/101/commits","review_comments_url":"https://api.github.com/repos/sublimehq/Packages/pulls/101/comments","review_comment_url":"https://api.github.com/repos/sublimehq/Packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sublimehq/Packages/issues/101/comments","statuses_url":"https://api.github.com/repos/sublimehq/Packages/statuses/47d25f868b62d402bbbdf901ffd512b044af80d5","head":{"label":"philipbordallo:html-empty-completions","ref":"html-empty-completions","sha":"47d25f868b62d402bbbdf901ffd512b044af80d5","user":{"login":"philipbordallo","id":9970403,"avatar_url":"https://avatars.githubusercontent.com/u/9970403?v=3","gravatar_id":"","url":"https://api.github.com/users/philipbordallo","html_url":"https://github.com/philipbordallo","followers_url":"https://api.github.com/users/philipbordallo/followers","following_url":"https://api.github.com/users/philipbordallo/following{/other_user}","gists_url":"https://api.github.com/users/philipbordallo/gists{/gist_id}","starred_url":"https://api.github.com/users/philipbordallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipbordallo/subscriptions","organizations_url":"https://api.github.com/users/philipbordallo/orgs","repos_url":"https://api.github.com/users/philipbordallo/repos","events_url":"https://api.github.com/users/philipbordallo/events{/privacy}","received_events_url":"https://api.github.com/users/philipbordallo/received_events","type":"User","site_admin":false},"repo":{"id":44139555,"name":"Packages","full_name":"philipbordallo/Packages","owner":{"login":"philipbordallo","id":9970403,"avatar_url":"https://avatars.githubusercontent.com/u/9970403?v=3","gravatar_id":"","url":"https://api.github.com/users/philipbordallo","html_url":"https://github.com/philipbordallo","followers_url":"https://api.github.com/users/philipbordallo/followers","following_url":"https://api.github.com/users/philipbordallo/following{/other_user}","gists_url":"https://api.github.com/users/philipbordallo/gists{/gist_id}","starred_url":"https://api.github.com/users/philipbordallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipbordallo/subscriptions","organizations_url":"https://api.github.com/users/philipbordallo/orgs","repos_url":"https://api.github.com/users/philipbordallo/repos","events_url":"https://api.github.com/users/philipbordallo/events{/privacy}","received_events_url":"https://api.github.com/users/philipbordallo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philipbordallo/Packages","description":"","fork":true,"url":"https://api.github.com/repos/philipbordallo/Packages","forks_url":"https://api.github.com/repos/philipbordallo/Packages/forks","keys_url":"https://api.github.com/repos/philipbordallo/Packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philipbordallo/Packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philipbordallo/Packages/teams","hooks_url":"https://api.github.com/repos/philipbordallo/Packages/hooks","issue_events_url":"https://api.github.com/repos/philipbordallo/Packages/issues/events{/number}","events_url":"https://api.github.com/repos/philipbordallo/Packages/events","assignees_url":"https://api.github.com/repos/philipbordallo/Packages/assignees{/user}","branches_url":"https://api.github.com/repos/philipbordallo/Packages/branches{/branch}","tags_url":"https://api.github.com/repos/philipbordallo/Packages/tags","blobs_url":"https://api.github.com/repos/philipbordallo/Packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philipbordallo/Packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philipbordallo/Packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/philipbordallo/Packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philipbordallo/Packages/statuses/{sha}","languages_url":"https://api.github.com/repos/philipbordallo/Packages/languages","stargazers_url":"https://api.github.com/repos/philipbordallo/Packages/stargazers","contributors_url":"https://api.github.com/repos/philipbordallo/Packages/contributors","subscribers_url":"https://api.github.com/repos/philipbordallo/Packages/subscribers","subscription_url":"https://api.github.com/repos/philipbordallo/Packages/subscription","commits_url":"https://api.github.com/repos/philipbordallo/Packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/philipbordallo/Packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/philipbordallo/Packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/philipbordallo/Packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/philipbordallo/Packages/contents/{+path}","compare_url":"https://api.github.com/repos/philipbordallo/Packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philipbordallo/Packages/merges","archive_url":"https://api.github.com/repos/philipbordallo/Packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philipbordallo/Packages/downloads","issues_url":"https://api.github.com/repos/philipbordallo/Packages/issues{/number}","pulls_url":"https://api.github.com/repos/philipbordallo/Packages/pulls{/number}","milestones_url":"https://api.github.com/repos/philipbordallo/Packages/milestones{/number}","notifications_url":"https://api.github.com/repos/philipbordallo/Packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philipbordallo/Packages/labels{/name}","releases_url":"https://api.github.com/repos/philipbordallo/Packages/releases{/id}","created_at":"2015-10-12T23:23:36Z","updated_at":"2015-10-12T23:23:38Z","pushed_at":"2015-10-13T22:52:39Z","git_url":"git://github.com/philipbordallo/Packages.git","ssh_url":"git@github.com:philipbordallo/Packages.git","clone_url":"https://github.com/philipbordallo/Packages.git","svn_url":"https://github.com/philipbordallo/Packages","homepage":null,"size":1459,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sublimehq:master","ref":"master","sha":"f7f96a0c31f6d6362dcb7ebfab6d1a0db7641f60","user":{"login":"sublimehq","id":1161584,"avatar_url":"https://avatars.githubusercontent.com/u/1161584?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimehq","html_url":"https://github.com/sublimehq","followers_url":"https://api.github.com/users/sublimehq/followers","following_url":"https://api.github.com/users/sublimehq/following{/other_user}","gists_url":"https://api.github.com/users/sublimehq/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimehq/subscriptions","organizations_url":"https://api.github.com/users/sublimehq/orgs","repos_url":"https://api.github.com/users/sublimehq/repos","events_url":"https://api.github.com/users/sublimehq/events{/privacy}","received_events_url":"https://api.github.com/users/sublimehq/received_events","type":"User","site_admin":false},"repo":{"id":37357499,"name":"Packages","full_name":"sublimehq/Packages","owner":{"login":"sublimehq","id":1161584,"avatar_url":"https://avatars.githubusercontent.com/u/1161584?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimehq","html_url":"https://github.com/sublimehq","followers_url":"https://api.github.com/users/sublimehq/followers","following_url":"https://api.github.com/users/sublimehq/following{/other_user}","gists_url":"https://api.github.com/users/sublimehq/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimehq/subscriptions","organizations_url":"https://api.github.com/users/sublimehq/orgs","repos_url":"https://api.github.com/users/sublimehq/repos","events_url":"https://api.github.com/users/sublimehq/events{/privacy}","received_events_url":"https://api.github.com/users/sublimehq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sublimehq/Packages","description":"","fork":false,"url":"https://api.github.com/repos/sublimehq/Packages","forks_url":"https://api.github.com/repos/sublimehq/Packages/forks","keys_url":"https://api.github.com/repos/sublimehq/Packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sublimehq/Packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sublimehq/Packages/teams","hooks_url":"https://api.github.com/repos/sublimehq/Packages/hooks","issue_events_url":"https://api.github.com/repos/sublimehq/Packages/issues/events{/number}","events_url":"https://api.github.com/repos/sublimehq/Packages/events","assignees_url":"https://api.github.com/repos/sublimehq/Packages/assignees{/user}","branches_url":"https://api.github.com/repos/sublimehq/Packages/branches{/branch}","tags_url":"https://api.github.com/repos/sublimehq/Packages/tags","blobs_url":"https://api.github.com/repos/sublimehq/Packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sublimehq/Packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sublimehq/Packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/sublimehq/Packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sublimehq/Packages/statuses/{sha}","languages_url":"https://api.github.com/repos/sublimehq/Packages/languages","stargazers_url":"https://api.github.com/repos/sublimehq/Packages/stargazers","contributors_url":"https://api.github.com/repos/sublimehq/Packages/contributors","subscribers_url":"https://api.github.com/repos/sublimehq/Packages/subscribers","subscription_url":"https://api.github.com/repos/sublimehq/Packages/subscription","commits_url":"https://api.github.com/repos/sublimehq/Packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/sublimehq/Packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/sublimehq/Packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/sublimehq/Packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/sublimehq/Packages/contents/{+path}","compare_url":"https://api.github.com/repos/sublimehq/Packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sublimehq/Packages/merges","archive_url":"https://api.github.com/repos/sublimehq/Packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sublimehq/Packages/downloads","issues_url":"https://api.github.com/repos/sublimehq/Packages/issues{/number}","pulls_url":"https://api.github.com/repos/sublimehq/Packages/pulls{/number}","milestones_url":"https://api.github.com/repos/sublimehq/Packages/milestones{/number}","notifications_url":"https://api.github.com/repos/sublimehq/Packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sublimehq/Packages/labels{/name}","releases_url":"https://api.github.com/repos/sublimehq/Packages/releases{/id}","created_at":"2015-06-13T04:17:44Z","updated_at":"2015-10-13T00:26:06Z","pushed_at":"2015-10-13T23:01:47Z","git_url":"git://github.com/sublimehq/Packages.git","ssh_url":"git@github.com:sublimehq/Packages.git","clone_url":"https://github.com/sublimehq/Packages.git","svn_url":"https://github.com/sublimehq/Packages","homepage":null,"size":1459,"stargazers_count":927,"watchers_count":927,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":43,"forks":72,"open_issues":43,"watchers":927,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sublimehq/Packages/pulls/101"},"html":{"href":"https://github.com/sublimehq/Packages/pull/101"},"issue":{"href":"https://api.github.com/repos/sublimehq/Packages/issues/101"},"comments":{"href":"https://api.github.com/repos/sublimehq/Packages/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/sublimehq/Packages/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/sublimehq/Packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sublimehq/Packages/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/sublimehq/Packages/statuses/47d25f868b62d402bbbdf901ffd512b044af80d5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":4,"changed_files":1}}