{"action":"opened","issue":{"url":"https://api.github.com/repos/segmentio/xml-parser/issues/21","repository_url":"https://api.github.com/repos/segmentio/xml-parser","labels_url":"https://api.github.com/repos/segmentio/xml-parser/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/xml-parser/issues/21/comments","events_url":"https://api.github.com/repos/segmentio/xml-parser/issues/21/events","html_url":"https://github.com/segmentio/xml-parser/issues/21","id":188637613,"number":21,"title":"Not handling mixed mode content correctly","user":{"login":"chrisbottin","id":1850406,"avatar_url":"https://avatars.githubusercontent.com/u/1850406?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbottin","html_url":"https://github.com/chrisbottin","followers_url":"https://api.github.com/users/chrisbottin/followers","following_url":"https://api.github.com/users/chrisbottin/following{/other_user}","gists_url":"https://api.github.com/users/chrisbottin/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbottin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbottin/subscriptions","organizations_url":"https://api.github.com/users/chrisbottin/orgs","repos_url":"https://api.github.com/users/chrisbottin/repos","events_url":"https://api.github.com/users/chrisbottin/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbottin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T22:36:57Z","updated_at":"2016-11-10T22:36:57Z","closed_at":null,"body":"Given the following example:\r\n`<a>foo <b>bar <c>baz</c></b>bad</a>`\r\n\r\n**Issue: The text \"bad\" is lost when parsed.**\r\n\r\nThe actual output is:\r\n```\r\n{ \r\n  declaration: undefined,\r\n  root: \r\n  { \r\n     name: 'a',\r\n     attributes: {},\r\n     children: \r\n      [ \r\n         {\r\n             name: 'b',\r\n              attributes: {},\r\n              children: [ { name: 'c', attributes: {}, children: [], content: 'baz' } ],\r\n              content: 'bar ' \r\n         } \r\n     ],\r\n     content: 'foo ' } \r\n}\r\n```\r\n"}}
{"actor":{"display_login":"chrisbottin"}}