{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/220","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/220/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/220/events","html_url":"https://github.com/aspnet/Razor/issues/220","id":47775011,"number":220,"title":"TagHelper attributes with no value cannot be used in TagHelpers","user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Razor/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aspnet/Razor/labels/TagHelper","name":"TagHelper","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/Razor/milestones/11","labels_url":"https://api.github.com/repos/aspnet/Razor/milestones/11/labels","id":929407,"number":11,"title":"4.0.0-rc1","description":"","creator":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":5,"state":"open","created_at":"2015-01-09T23:15:33Z","updated_at":"2015-02-09T22:37:08Z","due_on":"2015-03-23T07:00:00Z","closed_at":null},"comments":10,"created_at":"2014-11-04T22:30:37Z","updated_at":"2015-02-12T00:28:06Z","closed_at":null,"body":"Razor does not correctly parse HTML attributes that have no value.\r\n\r\nAfter playing around with the parse tree a bit I noticed that if you were to create HTML elements such as:\r\n```\r\n<input checked>\r\n<input checked value>\r\n```\r\n\r\nThe Razor parser does not generate an accurate syntax tree. This in turn results in the generated code not calling `WriteAttribute` and furthermore with `TagHelper`s does not allow us to pull the attributes from an HTML element easily.\r\n\r\nOnce this has been added we should also support this attribute syntax in Tag Helpers."},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/73994838","html_url":"https://github.com/aspnet/Razor/issues/220#issuecomment-73994838","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/220","id":73994838,"user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T00:28:06Z","updated_at":"2015-02-12T00:28:06Z","body":"With issue #289 all `TagHelper` bound attributes that are not typed `System.String` without a value will be invalid and cause a parse error. Do we want to do something special with say `bool` typed attributes, or any other types?\r\n\r\n/cc @DamianEdwards "}}