{"action":"created","issue":{"url":"https://api.github.com/repos/yesodweb/shakespeare/issues/220","repository_url":"https://api.github.com/repos/yesodweb/shakespeare","labels_url":"https://api.github.com/repos/yesodweb/shakespeare/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/yesodweb/shakespeare/issues/220/comments","events_url":"https://api.github.com/repos/yesodweb/shakespeare/issues/220/events","html_url":"https://github.com/yesodweb/shakespeare/issues/220","id":320908613,"number":220,"title":"Duplicate `class` attributes should probably get merged.","user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars2.githubusercontent.com/u/320177?v=4","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T18:33:15Z","updated_at":"2018-05-07T18:43:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the spirit of \"test first\" methodology I made a breaking test first,\r\n\r\n```\r\nexpected: \"<foo class=\\\"first second third\\\">content</foo>\\n\"\r\n        but got: \"<foo class=\\\"first\\\" class=\\\"second\\\" class=\\\"third\\\">content</foo>\\n\"\r\n```\r\n\r\nWhen I was inspecting results in a browser from a client's application it looked more like `<foo class=\"first\">`\r\n\r\nAny hoodle, since `class` is a `cdata-list` it seems to me like the justification for space separated concatenation is there. I'd like to be able to programmatically inject additional classes into my markup using the `*{...}` syntax."},"comment":{"url":"https://api.github.com/repos/yesodweb/shakespeare/issues/comments/387162894","html_url":"https://github.com/yesodweb/shakespeare/issues/220#issuecomment-387162894","issue_url":"https://api.github.com/repos/yesodweb/shakespeare/issues/220","id":387162894,"user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars2.githubusercontent.com/u/320177?v=4","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T18:43:10Z","updated_at":"2018-05-07T18:43:10Z","author_association":"CONTRIBUTOR","body":"This behavior would have some justification from past design intent:\r\n\r\nhttps://www.yesodweb.com/blog/2011/03/hamlet-lucius-widgets\r\n\r\n>If you have a class=someclass and a .otherclass, Hamlet will automatically combine them into class=\"someclass otherclass\".\r\n"}}
{"actor":{"display_login":"bitemyapp"}}