{"action":"created","issue":{"url":"https://api.github.com/repos/grnadav/css2js/issues/1","repository_url":"https://api.github.com/repos/grnadav/css2js","labels_url":"https://api.github.com/repos/grnadav/css2js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/grnadav/css2js/issues/1/comments","events_url":"https://api.github.com/repos/grnadav/css2js/issues/1/events","html_url":"https://github.com/grnadav/css2js/issues/1","id":134535582,"number":1,"title":"Avoid using innerHTML if possible","user":{"login":"kewisch","id":607198,"avatar_url":"https://avatars.githubusercontent.com/u/607198?v=3","gravatar_id":"","url":"https://api.github.com/users/kewisch","html_url":"https://github.com/kewisch","followers_url":"https://api.github.com/users/kewisch/followers","following_url":"https://api.github.com/users/kewisch/following{/other_user}","gists_url":"https://api.github.com/users/kewisch/gists{/gist_id}","starred_url":"https://api.github.com/users/kewisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewisch/subscriptions","organizations_url":"https://api.github.com/users/kewisch/orgs","repos_url":"https://api.github.com/users/kewisch/repos","events_url":"https://api.github.com/users/kewisch/events{/privacy}","received_events_url":"https://api.github.com/users/kewisch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grnadav/css2js/milestones/1","html_url":"https://github.com/grnadav/css2js/milestones/0.1.5","labels_url":"https://api.github.com/repos/grnadav/css2js/milestones/1/labels","id":1590375,"number":1,"title":"0.1.5","description":null,"creator":{"login":"grnadav","id":567446,"avatar_url":"https://avatars.githubusercontent.com/u/567446?v=3","gravatar_id":"","url":"https://api.github.com/users/grnadav","html_url":"https://github.com/grnadav","followers_url":"https://api.github.com/users/grnadav/followers","following_url":"https://api.github.com/users/grnadav/following{/other_user}","gists_url":"https://api.github.com/users/grnadav/gists{/gist_id}","starred_url":"https://api.github.com/users/grnadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grnadav/subscriptions","organizations_url":"https://api.github.com/users/grnadav/orgs","repos_url":"https://api.github.com/users/grnadav/repos","events_url":"https://api.github.com/users/grnadav/events{/privacy}","received_events_url":"https://api.github.com/users/grnadav/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-02-18T10:23:58Z","updated_at":"2016-02-18T10:23:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-18T10:13:08Z","updated_at":"2016-02-18T10:26:33Z","closed_at":null,"body":"css2js sets the text content of the style tags using `innerHTML`. There are a lot of Firefox add-on authors using css2js, and reviewers need to look through the minified css string each time to verify that there are no script tags or other negative side-effects.\r\n\r\nWould it be possible to avoid innerHTML, e.g. by using .textContent or other properties instead? This would avoid the validator warning and make life easier for reviewers."},"comment":{"url":"https://api.github.com/repos/grnadav/css2js/issues/comments/185643116","html_url":"https://github.com/grnadav/css2js/issues/1#issuecomment-185643116","issue_url":"https://api.github.com/repos/grnadav/css2js/issues/1","id":185643116,"user":{"login":"kewisch","id":607198,"avatar_url":"https://avatars.githubusercontent.com/u/607198?v=3","gravatar_id":"","url":"https://api.github.com/users/kewisch","html_url":"https://github.com/kewisch","followers_url":"https://api.github.com/users/kewisch/followers","following_url":"https://api.github.com/users/kewisch/following{/other_user}","gists_url":"https://api.github.com/users/kewisch/gists{/gist_id}","starred_url":"https://api.github.com/users/kewisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewisch/subscriptions","organizations_url":"https://api.github.com/users/kewisch/orgs","repos_url":"https://api.github.com/users/kewisch/repos","events_url":"https://api.github.com/users/kewisch/events{/privacy}","received_events_url":"https://api.github.com/users/kewisch/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T10:26:33Z","updated_at":"2016-02-18T10:26:33Z","body":"Perfect, thanks!"}}