{"action":"created","issue":{"url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/117","repository_url":"https://api.github.com/repos/oozcitak/xmlbuilder-js","labels_url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/117/comments","events_url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/117/events","html_url":"https://github.com/oozcitak/xmlbuilder-js/issues/117","id":146507912,"number":117,"title":"Passing 0 as element content collapses the element.","user":{"login":"pixelfreak","id":833548,"avatar_url":"https://avatars.githubusercontent.com/u/833548?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelfreak","html_url":"https://github.com/pixelfreak","followers_url":"https://api.github.com/users/pixelfreak/followers","following_url":"https://api.github.com/users/pixelfreak/following{/other_user}","gists_url":"https://api.github.com/users/pixelfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelfreak/subscriptions","organizations_url":"https://api.github.com/users/pixelfreak/orgs","repos_url":"https://api.github.com/users/pixelfreak/repos","events_url":"https://api.github.com/users/pixelfreak/events{/privacy}","received_events_url":"https://api.github.com/users/pixelfreak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/labels/Bug","name":"Bug","color":"ff3d3d"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-07T04:39:09Z","updated_at":"2016-04-08T08:01:02Z","closed_at":"2016-04-07T14:06:35Z","body":"When passing the integer `0` the content to an element. It used to be this:\r\n\r\n`<element>0</element>`\r\n\r\nNow it's:\r\n\r\n`<element />`\r\n\r\nIs this intentional? Why? "},"comment":{"url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/comments/207291032","html_url":"https://github.com/oozcitak/xmlbuilder-js/issues/117#issuecomment-207291032","issue_url":"https://api.github.com/repos/oozcitak/xmlbuilder-js/issues/117","id":207291032,"user":{"login":"oozcitak","id":188041,"avatar_url":"https://avatars.githubusercontent.com/u/188041?v=3","gravatar_id":"","url":"https://api.github.com/users/oozcitak","html_url":"https://github.com/oozcitak","followers_url":"https://api.github.com/users/oozcitak/followers","following_url":"https://api.github.com/users/oozcitak/following{/other_user}","gists_url":"https://api.github.com/users/oozcitak/gists{/gist_id}","starred_url":"https://api.github.com/users/oozcitak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oozcitak/subscriptions","organizations_url":"https://api.github.com/users/oozcitak/orgs","repos_url":"https://api.github.com/users/oozcitak/repos","events_url":"https://api.github.com/users/oozcitak/events{/privacy}","received_events_url":"https://api.github.com/users/oozcitak/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T08:01:02Z","updated_at":"2016-04-08T08:01:02Z","body":"Also fixed this bug in callback mode (i.e. `begin` with a callback function) This fix is in 8.2.2."}}