{"action":"created","issue":{"url":"https://api.github.com/repos/github/markup/issues/500","labels_url":"https://api.github.com/repos/github/markup/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/github/markup/issues/500/comments","events_url":"https://api.github.com/repos/github/markup/issues/500/events","html_url":"https://github.com/github/markup/issues/500","id":80717042,"number":500,"title":"Allow srcset attribute on img tags","user":{"login":"abhibeckert","id":266088,"avatar_url":"https://avatars.githubusercontent.com/u/266088?v=3","gravatar_id":"","url":"https://api.github.com/users/abhibeckert","html_url":"https://github.com/abhibeckert","followers_url":"https://api.github.com/users/abhibeckert/followers","following_url":"https://api.github.com/users/abhibeckert/following{/other_user}","gists_url":"https://api.github.com/users/abhibeckert/gists{/gist_id}","starred_url":"https://api.github.com/users/abhibeckert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhibeckert/subscriptions","organizations_url":"https://api.github.com/users/abhibeckert/orgs","repos_url":"https://api.github.com/users/abhibeckert/repos","events_url":"https://api.github.com/users/abhibeckert/events{/privacy}","received_events_url":"https://api.github.com/users/abhibeckert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T00:19:29Z","updated_at":"2016-01-03T19:17:43Z","closed_at":null,"body":"Please allow `srcset` attributes in `<img>` tags:\r\n\r\n    <img src=\"screenshot.png\" srcset=\"screenshot-2x.png 2x\">\r\n\r\nIt's currently a draft standard:\r\nhttp://www.w3.org/html/wg/drafts/html/master/semantics.html#attr-img-srcset\r\n\r\nAnd at least partially supported (the above example works) in the latest version of every browser:\r\nhttp://caniuse.com/#feat=srcset"},"comment":{"url":"https://api.github.com/repos/github/markup/issues/comments/168533259","html_url":"https://github.com/github/markup/issues/500#issuecomment-168533259","issue_url":"https://api.github.com/repos/github/markup/issues/500","id":168533259,"user":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T19:17:43Z","updated_at":"2016-01-03T19:17:43Z","body":"It's far past a draft standard by now, and its lack means I have to do image editting before posting up screengrabs (because my device is 2x).  Whitelisting `srcset` is exactly as safe as whitelisting `src`.\r\n\r\nSource: I'm the primary author of the modern `srcset` (/`<picture>`) spec that was integrated into HTML."}}