{"action":"created","issue":{"url":"https://api.github.com/repos/bdkjones/CodeKit/issues/328","repository_url":"https://api.github.com/repos/bdkjones/CodeKit","labels_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/328/comments","events_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/328/events","html_url":"https://github.com/bdkjones/CodeKit/issues/328","id":31011159,"number":328,"title":"request: HTML minifier","user":{"login":"albell","id":1142025,"avatar_url":"https://avatars.githubusercontent.com/u/1142025?v=3","gravatar_id":"","url":"https://api.github.com/users/albell","html_url":"https://github.com/albell","followers_url":"https://api.github.com/users/albell/followers","following_url":"https://api.github.com/users/albell/following{/other_user}","gists_url":"https://api.github.com/users/albell/gists{/gist_id}","starred_url":"https://api.github.com/users/albell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albell/subscriptions","organizations_url":"https://api.github.com/users/albell/orgs","repos_url":"https://api.github.com/users/albell/repos","events_url":"https://api.github.com/users/albell/events{/privacy}","received_events_url":"https://api.github.com/users/albell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-04-07T18:49:20Z","updated_at":"2016-05-14T14:04:49Z","closed_at":"2014-04-07T21:06:05Z","body":"Hey Bryan, your position, I understand, is that all current minifiers break on edge cases. Can you show me some examples? I'm been using kangax's minifier and every time I encounter a bug, I file it, and it's fixed within 24 hours. Kangax is using Resig's HTML parser written in JS, which does gracefully handle basic nesting errors, etc.\r\n\r\nThe big wrinkle is that markup has to be valid, which is a big pain point, as it seems there's not a lot of interest/activity around the concept of HTML validation these days. A quick glance at current validators show very little current development. Most of these projects seem to have been abandoned three or four years ago. Html linting is way behind JS linting. \r\n\r\nThat's too bad, because besides being essential for minification, validity checking sometimes does genuinely catch an error.  <a href=\"http://validator.w3.org/docs/devel.html\">The w3C validator can be installed locally</a>. There should be a way to turn down the fussiness, and create some reasonable defaults that create less noise in the logs.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bdkjones/CodeKit/issues/comments/219222089","html_url":"https://github.com/bdkjones/CodeKit/issues/328#issuecomment-219222089","issue_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/328","id":219222089,"user":{"login":"devilskitchen","id":1190864,"avatar_url":"https://avatars.githubusercontent.com/u/1190864?v=3","gravatar_id":"","url":"https://api.github.com/users/devilskitchen","html_url":"https://github.com/devilskitchen","followers_url":"https://api.github.com/users/devilskitchen/followers","following_url":"https://api.github.com/users/devilskitchen/following{/other_user}","gists_url":"https://api.github.com/users/devilskitchen/gists{/gist_id}","starred_url":"https://api.github.com/users/devilskitchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilskitchen/subscriptions","organizations_url":"https://api.github.com/users/devilskitchen/orgs","repos_url":"https://api.github.com/users/devilskitchen/repos","events_url":"https://api.github.com/users/devilskitchen/events{/privacy}","received_events_url":"https://api.github.com/users/devilskitchen/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T14:04:49Z","updated_at":"2016-05-14T14:04:49Z","body":"My assumption is always that CodeKit is right, and I must have ballsed up my code."}}