{"action":"created","issue":{"url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/21","labels_url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/21/comments","events_url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/21/events","html_url":"https://github.com/juancarlospaco/css-html-js-minify/issues/21","id":108131446,"number":21,"title":"Minified embedded Javascript fails","user":{"login":"spapadim","id":4348443,"avatar_url":"https://avatars.githubusercontent.com/u/4348443?v=3","gravatar_id":"","url":"https://api.github.com/users/spapadim","html_url":"https://github.com/spapadim","followers_url":"https://api.github.com/users/spapadim/followers","following_url":"https://api.github.com/users/spapadim/following{/other_user}","gists_url":"https://api.github.com/users/spapadim/gists{/gist_id}","starred_url":"https://api.github.com/users/spapadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spapadim/subscriptions","organizations_url":"https://api.github.com/users/spapadim/orgs","repos_url":"https://api.github.com/users/spapadim/repos","events_url":"https://api.github.com/users/spapadim/events{/privacy}","received_events_url":"https://api.github.com/users/spapadim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T13:38:09Z","updated_at":"2015-09-24T14:13:33Z","closed_at":null,"body":"For the following HTML document:\r\n  https://gist.github.com/84cdbef4ef081b963ac8\r\nthe minified output throws a Javascript error:\r\n  `Uncaught SyntaxError: Unexpected token this`\r\nwhereas the original loads fine. Running v1.2.0 (off of pypi)."},"comment":{"url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/comments/142942408","html_url":"https://github.com/juancarlospaco/css-html-js-minify/issues/21#issuecomment-142942408","issue_url":"https://api.github.com/repos/juancarlospaco/css-html-js-minify/issues/21","id":142942408,"user":{"login":"spapadim","id":4348443,"avatar_url":"https://avatars.githubusercontent.com/u/4348443?v=3","gravatar_id":"","url":"https://api.github.com/users/spapadim","html_url":"https://github.com/spapadim","followers_url":"https://api.github.com/users/spapadim/followers","following_url":"https://api.github.com/users/spapadim/following{/other_user}","gists_url":"https://api.github.com/users/spapadim/gists{/gist_id}","starred_url":"https://api.github.com/users/spapadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spapadim/subscriptions","organizations_url":"https://api.github.com/users/spapadim/orgs","repos_url":"https://api.github.com/users/spapadim/repos","events_url":"https://api.github.com/users/spapadim/events{/privacy}","received_events_url":"https://api.github.com/users/spapadim/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T14:13:33Z","updated_at":"2015-09-24T14:13:33Z","body":"I thought it's the // comments, but even changing both to /* .. */ does not help.  Oddly, if I beautify the minified code (eg with http://jsbeautifier.org/), then it works again."}}