{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/minify/issues/30","labels_url":"https://api.github.com/repos/chrsmith/minify/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/minify/issues/30/comments","events_url":"https://api.github.com/repos/chrsmith/minify/issues/30/events","html_url":"https://github.com/chrsmith/minify/issues/30","id":58993505,"number":30,"title":"Allow non-minification of copyright/licenses","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/minify/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-26T00:18:10Z","updated_at":"2015-02-26T00:18:11Z","closed_at":"2015-02-26T00:18:10Z","body":"```\nCurrently only the CSS minifier has a mechanism for leaving copyright\ncomments untouched. I'd prefer to remove this option from the CSS min and\ncreate an easy way to leave arbitrary content (usually comments) unmodified.\n\nOption 1: Give unrecognized file extensions an empty minifier by default.\nThe user would then move license/copyright comments to .txt files and add\nthem to the file lists. I like this because it actually simplifies/removes\n Minify code while making the task straightforward for the user.\n\nOption 2: Have Minify_Javascript / Minify_Html sniff & strip out license\ncomments and add them back after using minification. Creates tons of\noptions and worries about how to determine which comments to keep, etc.\n\nThis also raises the issue: are licenses even necessary if the source files\n(w/ license) are on the server (but not linked)? Would it be\nbetter/acceptable to merge all client code licenses into a file and point\nto it in a comment?\n```\n\n-----\nOriginal issue reported on code.google.com by `mrclay....@gmail.com` on 2 May 2008 at 5:13"},"comment":{"url":"https://api.github.com/repos/chrsmith/minify/issues/comments/76093571","html_url":"https://github.com/chrsmith/minify/issues/30#issuecomment-76093571","issue_url":"https://api.github.com/repos/chrsmith/minify/issues/30","id":76093571,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:18:11Z","updated_at":"2015-02-26T00:18:11Z","body":"```\nOption 3 looks good to me. :-)\n```\n\n-----\nOriginal comment by `jm.spam...@gmail.com` on 2 May 2008 at 10:01"}}