{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/zen-coding/issues/251","labels_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/251/comments","events_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/251/events","html_url":"https://github.com/chrsmith/zen-coding/issues/251","id":58998076,"number":251,"title":"Labels+Inputs = <3","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-26T00:46:16Z","updated_at":"2015-02-26T00:46:18Z","closed_at":"2015-02-26T00:46:17Z","body":"```\nWhen we have the following abbreviation (or any similar): label>input# it'd be \ncool to have it expanded not to <label for=\"$1\"><input type=\"$2\" id=\"$3\" \n/>$4</label>, but to <label for=\"$1\"><input type=\"$2\" id=\"$1\" />$3</label> (in \nTM snippet notation)\n\nThe important part is the automatic mirroring of \"for\" and \"id\" attributes.\n```\n\n-----\nOriginal issue reported on code.google.com by `kizmarh` on 13 Mar 2011 at 9:05"},"comment":{"url":"https://api.github.com/repos/chrsmith/zen-coding/issues/comments/76100307","html_url":"https://github.com/chrsmith/zen-coding/issues/251#issuecomment-76100307","issue_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/251","id":76100307,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:46:18Z","updated_at":"2015-02-26T00:46:18Z","body":"```\nGuys, what the heck?\n\nWhy not just make label>input expand into:\n<label><input name=''></label> ??\n\nPer the HTML spec, <input> tags without for attributes are implicitly \nassociated with their contents (See: \nhttp://www.w3.org/TR/html401/interact/forms.html#h-17.9.1)\n\nI just LOVE zen-coding, and the only thing that stop my flow is deleting these \nunnecessary 'for' attributes...\n\nMuch obliged!\n```\n\n-----\nOriginal comment by `baronl...@gmail.com` on 9 Jan 2012 at 10:52"}}