{"action":"created","issue":{"url":"https://api.github.com/repos/LaravelCollective/html/issues/168","repository_url":"https://api.github.com/repos/LaravelCollective/html","labels_url":"https://api.github.com/repos/LaravelCollective/html/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/LaravelCollective/html/issues/168/comments","events_url":"https://api.github.com/repos/LaravelCollective/html/issues/168/events","html_url":"https://github.com/LaravelCollective/html/pull/168","id":138091897,"number":168,"title":"[5.2] Support boolean attributes","user":{"login":"EspadaV8","id":115825,"avatar_url":"https://avatars.githubusercontent.com/u/115825?v=3","gravatar_id":"","url":"https://api.github.com/users/EspadaV8","html_url":"https://github.com/EspadaV8","followers_url":"https://api.github.com/users/EspadaV8/followers","following_url":"https://api.github.com/users/EspadaV8/following{/other_user}","gists_url":"https://api.github.com/users/EspadaV8/gists{/gist_id}","starred_url":"https://api.github.com/users/EspadaV8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EspadaV8/subscriptions","organizations_url":"https://api.github.com/users/EspadaV8/orgs","repos_url":"https://api.github.com/users/EspadaV8/repos","events_url":"https://api.github.com/users/EspadaV8/events{/privacy}","received_events_url":"https://api.github.com/users/EspadaV8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-03T06:48:58Z","updated_at":"2016-10-24T22:05:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LaravelCollective/html/pulls/168","html_url":"https://github.com/LaravelCollective/html/pull/168","diff_url":"https://github.com/LaravelCollective/html/pull/168.diff","patch_url":"https://github.com/LaravelCollective/html/pull/168.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/LaravelCollective/html/issues/comments/255879904","html_url":"https://github.com/LaravelCollective/html/pull/168#issuecomment-255879904","issue_url":"https://api.github.com/repos/LaravelCollective/html/issues/168","id":255879904,"user":{"login":"EspadaV8","id":115825,"avatar_url":"https://avatars.githubusercontent.com/u/115825?v=3","gravatar_id":"","url":"https://api.github.com/users/EspadaV8","html_url":"https://github.com/EspadaV8","followers_url":"https://api.github.com/users/EspadaV8/followers","following_url":"https://api.github.com/users/EspadaV8/following{/other_user}","gists_url":"https://api.github.com/users/EspadaV8/gists{/gist_id}","starred_url":"https://api.github.com/users/EspadaV8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EspadaV8/subscriptions","organizations_url":"https://api.github.com/users/EspadaV8/orgs","repos_url":"https://api.github.com/users/EspadaV8/repos","events_url":"https://api.github.com/users/EspadaV8/events{/privacy}","received_events_url":"https://api.github.com/users/EspadaV8/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T22:05:08Z","updated_at":"2016-10-24T22:05:08Z","body":"Copy/pasting from my comment in #252 \r\n\r\n@andrzejkupczyk When it mentions 'the empty string' that also allows it to be omitted. You can see examples of boolean attributes here [W3C Boolean Attributes](https://www.w3.org/TR/html5/single-page.html#boolean-attributes)\r\n\r\n> Here is an example of a checkbox that is checked and disabled. The checked and disabled attributes are the boolean attributes.\r\n>\r\n>  `<label><input type=checkbox checked name=cheese disabled> Cheese</label>`\r\n>\r\n> This could be equivalently written as this:\r\n>\r\n> `<label><input type=checkbox checked=checked name=cheese disabled=disabled> Cheese</label>`\r\n>\r\n> You can also mix styles; the following is still equivalent:\r\n> \r\n> `<label><input type='checkbox' checked name=cheese disabled=\"\"> Cheese</label>`\r\n\r\n\r\nThe information about omitting empty string values is mentioned in the secion [A Quick Introduction to HTML](https://www.w3.org/TR/html5/single-page.html#intro-early-example) about 4 paragraphs in (emphasis mine)\r\n\r\n> Attributes are placed inside the start tag, and consist of a name and a value, separated by an \"=\" character. The attribute value can remain unquoted if it doesn't contain space characters or any of \" ' ` = < or >. Otherwise, it has to be quoted using either single or double quotes. **The value, along with the \"=\" character, can be omitted altogether if the value is the empty string.**\r\n"}}
{"actor":{"display_login":"EspadaV8"}}