{"action":"created","issue":{"url":"https://api.github.com/repos/krisselden/simple-dom/issues/18","labels_url":"https://api.github.com/repos/krisselden/simple-dom/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/krisselden/simple-dom/issues/18/comments","events_url":"https://api.github.com/repos/krisselden/simple-dom/issues/18/events","html_url":"https://github.com/krisselden/simple-dom/pull/18","id":109422408,"number":18,"title":"expose serializer method for child nodes","user":{"login":"ronco","id":613156,"avatar_url":"https://avatars.githubusercontent.com/u/613156?v=3","gravatar_id":"","url":"https://api.github.com/users/ronco","html_url":"https://github.com/ronco","followers_url":"https://api.github.com/users/ronco/followers","following_url":"https://api.github.com/users/ronco/following{/other_user}","gists_url":"https://api.github.com/users/ronco/gists{/gist_id}","starred_url":"https://api.github.com/users/ronco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronco/subscriptions","organizations_url":"https://api.github.com/users/ronco/orgs","repos_url":"https://api.github.com/users/ronco/repos","events_url":"https://api.github.com/users/ronco/events{/privacy}","received_events_url":"https://api.github.com/users/ronco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T03:11:13Z","updated_at":"2015-10-02T13:40:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/krisselden/simple-dom/pulls/18","html_url":"https://github.com/krisselden/simple-dom/pull/18","diff_url":"https://github.com/krisselden/simple-dom/pull/18.diff","patch_url":"https://github.com/krisselden/simple-dom/pull/18.patch"},"body":"Fastboot needs to serialize the contents of the body & head elements, but not those tags themselves.  Currently those tags are included in the output generated by serialize leading to nested body & head tags (as seen [here](https://github.com/tildeio/ember-cli-fastboot/pull/66#issuecomment-143107666)).  This PR exposes a `serializeChildren` method to enable this behavior.  I'm glad to update/take a different approach if a different solution is preferred."},"comment":{"url":"https://api.github.com/repos/krisselden/simple-dom/issues/comments/145023414","html_url":"https://github.com/krisselden/simple-dom/pull/18#issuecomment-145023414","issue_url":"https://api.github.com/repos/krisselden/simple-dom/issues/18","id":145023414,"user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T13:40:56Z","updated_at":"2015-10-02T13:40:56Z","body":"It seems that we are basically making `serializeChildren` similar to `elem.innerHTML` and `serialize` is like `elem.outerHTML`.\r\n\r\nThis looks good to me.\r\n\r\n@tomdale / @krisselden - Any issues with this?"}}