{"action":"created","issue":{"url":"https://api.github.com/repos/AlDanial/cloc/issues/7","labels_url":"https://api.github.com/repos/AlDanial/cloc/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/AlDanial/cloc/issues/7/comments","events_url":"https://api.github.com/repos/AlDanial/cloc/issues/7/events","html_url":"https://github.com/AlDanial/cloc/issues/7","id":109836897,"number":7,"title":"Appear to be getting invalid counts for .htm file","user":{"login":"rschaeferhig","id":7859432,"avatar_url":"https://avatars.githubusercontent.com/u/7859432?v=3","gravatar_id":"","url":"https://api.github.com/users/rschaeferhig","html_url":"https://github.com/rschaeferhig","followers_url":"https://api.github.com/users/rschaeferhig/followers","following_url":"https://api.github.com/users/rschaeferhig/following{/other_user}","gists_url":"https://api.github.com/users/rschaeferhig/gists{/gist_id}","starred_url":"https://api.github.com/users/rschaeferhig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschaeferhig/subscriptions","organizations_url":"https://api.github.com/users/rschaeferhig/orgs","repos_url":"https://api.github.com/users/rschaeferhig/repos","events_url":"https://api.github.com/users/rschaeferhig/events{/privacy}","received_events_url":"https://api.github.com/users/rschaeferhig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-05T16:30:54Z","updated_at":"2015-10-07T02:04:04Z","closed_at":null,"body":"I'm evaluating this for use in our CI Build/Metrics workflow. I ran it against a .Net Solution that has one .htm file (attached). CLOC returned: \r\nfiles\tlanguage\tblank\tcomment\tcode\r\n1\tHTML\t4\t0\t57\r\n\r\nThe file is mostly JavaScript and mostly commented out. It appears to be counting the commented Javascript as code.\r\n![10-5-2015 12-28-10 pm](https://cloud.githubusercontent.com/assets/7859432/10286675/e736777a-6b5c-11e5-8133-0ac1702b562e.jpg)\r\n \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AlDanial/cloc/issues/comments/146057375","html_url":"https://github.com/AlDanial/cloc/issues/7#issuecomment-146057375","issue_url":"https://api.github.com/repos/AlDanial/cloc/issues/7","id":146057375,"user":{"login":"AlDanial","id":1459933,"avatar_url":"https://avatars.githubusercontent.com/u/1459933?v=3","gravatar_id":"","url":"https://api.github.com/users/AlDanial","html_url":"https://github.com/AlDanial","followers_url":"https://api.github.com/users/AlDanial/followers","following_url":"https://api.github.com/users/AlDanial/following{/other_user}","gists_url":"https://api.github.com/users/AlDanial/gists{/gist_id}","starred_url":"https://api.github.com/users/AlDanial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlDanial/subscriptions","organizations_url":"https://api.github.com/users/AlDanial/orgs","repos_url":"https://api.github.com/users/AlDanial/repos","events_url":"https://api.github.com/users/AlDanial/events{/privacy}","received_events_url":"https://api.github.com/users/AlDanial/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T02:04:04Z","updated_at":"2015-10-07T02:04:04Z","body":"I'm certainly not opposed to counting code embedded within HTML, it's just that I don't know how to do it properly.  I'm happy to accept pull requests from smarter people who can implement this."}}