{"action":"created","issue":{"url":"https://api.github.com/repos/FullHuman/purgecss/issues/110","repository_url":"https://api.github.com/repos/FullHuman/purgecss","labels_url":"https://api.github.com/repos/FullHuman/purgecss/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/FullHuman/purgecss/issues/110/comments","events_url":"https://api.github.com/repos/FullHuman/purgecss/issues/110/events","html_url":"https://github.com/FullHuman/purgecss/issues/110","id":343324317,"node_id":"MDU6SXNzdWUzNDMzMjQzMTc=","number":110,"title":"CSS attribute selectors not being removed","user":{"login":"davidhouweling","id":9696959,"node_id":"MDQ6VXNlcjk2OTY5NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9696959?v=4","gravatar_id":"","url":"https://api.github.com/users/davidhouweling","html_url":"https://github.com/davidhouweling","followers_url":"https://api.github.com/users/davidhouweling/followers","following_url":"https://api.github.com/users/davidhouweling/following{/other_user}","gists_url":"https://api.github.com/users/davidhouweling/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhouweling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhouweling/subscriptions","organizations_url":"https://api.github.com/users/davidhouweling/orgs","repos_url":"https://api.github.com/users/davidhouweling/repos","events_url":"https://api.github.com/users/davidhouweling/events{/privacy}","received_events_url":"https://api.github.com/users/davidhouweling/received_events","type":"User","site_admin":false},"labels":[{"id":638406212,"node_id":"MDU6TGFiZWw2Mzg0MDYyMTI=","url":"https://api.github.com/repos/FullHuman/purgecss/labels/Feature%20request","name":"Feature request","color":"1d76db","default":false},{"id":638143081,"node_id":"MDU6TGFiZWw2MzgxNDMwODE=","url":"https://api.github.com/repos/FullHuman/purgecss/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/FullHuman/purgecss/milestones/2","html_url":"https://github.com/FullHuman/purgecss/milestone/2","labels_url":"https://api.github.com/repos/FullHuman/purgecss/milestones/2/labels","id":3515766,"node_id":"MDk6TWlsZXN0b25lMzUxNTc2Ng==","number":2,"title":"v2","description":null,"creator":{"login":"jsnanigans","id":4624141,"node_id":"MDQ6VXNlcjQ2MjQxNDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4624141?v=4","gravatar_id":"","url":"https://api.github.com/users/jsnanigans","html_url":"https://github.com/jsnanigans","followers_url":"https://api.github.com/users/jsnanigans/followers","following_url":"https://api.github.com/users/jsnanigans/following{/other_user}","gists_url":"https://api.github.com/users/jsnanigans/gists{/gist_id}","starred_url":"https://api.github.com/users/jsnanigans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsnanigans/subscriptions","organizations_url":"https://api.github.com/users/jsnanigans/orgs","repos_url":"https://api.github.com/users/jsnanigans/repos","events_url":"https://api.github.com/users/jsnanigans/events{/privacy}","received_events_url":"https://api.github.com/users/jsnanigans/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-07-23T09:49:41Z","updated_at":"2018-07-23T09:50:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-07-21T12:48:24Z","updated_at":"2018-12-20T14:10:52Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nAs part of normalize.css, it uses attribute selectors as a means to select elements, however these get left in by purgecss.\r\n\r\n**To Reproduce**\r\n1. Using the following HTML\r\n``` html\r\n<html>\r\n  <body>\r\n    <div class=\"component\"></div>\r\n  </body>\r\n</html>\r\n```\r\n2. With the following CSS\r\n``` css\r\n.component { color: black; }\r\nbutton,\r\n[type=\"button\"],\r\n[type=\"reset\"],\r\n[type=\"submit\"] {\r\n  -webkit-appearance: button;\r\n}\r\n```\r\n3. Passing the above HTML and CSS through the CLI\r\n4. The resulting CSS is as followed\r\n``` css\r\n.component { color: black; }\r\n[type=\"button\"],\r\n[type=\"reset\"],\r\n[type=\"submit\"] {\r\n  -webkit-appearance: button;\r\n}\r\n```\r\n\r\n**Expected behavior**\r\nThe generated CSS should be\r\n``` css\r\n.component { color: black; }\r\n```\r\n\r\n**Screenshots**\r\nN/A\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Windows 10 version 1709\r\n - Version of Purgecss 1.0.1\r\n\r\n**Additional context**\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/FullHuman/purgecss/issues/comments/449011274","html_url":"https://github.com/FullHuman/purgecss/issues/110#issuecomment-449011274","issue_url":"https://api.github.com/repos/FullHuman/purgecss/issues/110","id":449011274,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTAxMTI3NA==","user":{"login":"michaelx","id":198407,"node_id":"MDQ6VXNlcjE5ODQwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/198407?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelx","html_url":"https://github.com/michaelx","followers_url":"https://api.github.com/users/michaelx/followers","following_url":"https://api.github.com/users/michaelx/following{/other_user}","gists_url":"https://api.github.com/users/michaelx/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelx/subscriptions","organizations_url":"https://api.github.com/users/michaelx/orgs","repos_url":"https://api.github.com/users/michaelx/repos","events_url":"https://api.github.com/users/michaelx/events{/privacy}","received_events_url":"https://api.github.com/users/michaelx/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T14:10:52Z","updated_at":"2018-12-20T14:10:52Z","author_association":"NONE","body":"Sorry to bother, but any ETA on this one?"}}
{"actor":{"display_login":"michaelx"}}