{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/html-compressor/issues/66","labels_url":"https://api.github.com/repos/websharks/html-compressor/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/websharks/html-compressor/issues/66/comments","events_url":"https://api.github.com/repos/websharks/html-compressor/issues/66/events","html_url":"https://github.com/websharks/html-compressor/issues/66","id":100504808,"number":66,"title":"Minification Problem with CSS Pseudo-Classes","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/html-compressor/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-12T09:38:26Z","updated_at":"2015-08-18T18:15:52Z","closed_at":null,"body":"A copy of: https://github.com/websharks/zencache/issues/544\r\n\r\nReference: https://webshark.zendesk.com/agent/tickets/7790\r\n\r\nCSS pseudo-classes require a space between the class-name and pseudo-class-name. When minifying CSS with ZenCache, that space is removed, breaking the code.\r\n\r\nFor example:\r\n\r\n`.test :first-child { color: green; }` would be changed to `.test:first-child{color:green;}`\r\n\r\n## Work-Around to Avoid This Issue\r\n\r\nTo avoid this issue, choose \"No, do not compress the code in any unified CSS files\" from the panel at **WordPress Dashboard → ZenCache → Plugin Options → HTML Compression**. \r\n\r\n![zencache-screenshot](https://cloud.githubusercontent.com/assets/9320495/9215141/aec914f0-4074-11e5-90c6-e238064951c4.jpg)"},"comment":{"url":"https://api.github.com/repos/websharks/html-compressor/issues/comments/132305317","html_url":"https://github.com/websharks/html-compressor/issues/66#issuecomment-132305317","issue_url":"https://api.github.com/repos/websharks/html-compressor/issues/66","id":132305317,"user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T18:15:52Z","updated_at":"2015-08-18T18:15:52Z","body":"> http://leafo.github.io/scssphp/\r\n\r\n@jaswsinc That looks like an SCSS compiler, not specifically a CSS compressor. Does it support straight CSS compression? I looked through the docs but everything seems to indicate starting with SCSS and then outputting compressed CSS."}}