{"action":"created","issue":{"url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/21","labels_url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/21/comments","events_url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/21/events","html_url":"https://github.com/purescript-contrib/purescript-dom/pull/21","id":103125075,"number":21,"title":"add innerHTML and setInnerHTML","user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars.githubusercontent.com/u/4209276?v=3","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T21:51:19Z","updated_at":"2015-08-26T07:31:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/purescript-contrib/purescript-dom/pulls/21","html_url":"https://github.com/purescript-contrib/purescript-dom/pull/21","diff_url":"https://github.com/purescript-contrib/purescript-dom/pull/21.diff","patch_url":"https://github.com/purescript-contrib/purescript-dom/pull/21.patch"},"body":"Add support for [Element.innerHTML](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)"},"comment":{"url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/comments/134876545","html_url":"https://github.com/purescript-contrib/purescript-dom/pull/21#issuecomment-134876545","issue_url":"https://api.github.com/repos/purescript-contrib/purescript-dom/issues/21","id":134876545,"user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars.githubusercontent.com/u/4209276?v=3","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T07:31:27Z","updated_at":"2015-08-26T07:31:27Z","body":"Oops, it didn't come to my mind that `innerHTML` would not be part of the spec. It is a rather 'unsafe' function and usually there are better ways to achieve the same result. So I'm actually also fine with canceling this PR, if you want.\r\n\r\nIf you want to keep it, I believe it should belong to `Element`. Despite it's name, it should work just as well for XML (SVG) documents (see the 'living standard' document that you referred to). It's part of \"Extensions to the Element interface\"."}}