{"action":"opened","issue":{"url":"https://api.github.com/repos/manoelcampos/xml2lua/issues/21","repository_url":"https://api.github.com/repos/manoelcampos/xml2lua","labels_url":"https://api.github.com/repos/manoelcampos/xml2lua/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/manoelcampos/xml2lua/issues/21/comments","events_url":"https://api.github.com/repos/manoelcampos/xml2lua/issues/21/events","html_url":"https://github.com/manoelcampos/xml2lua/issues/21","id":391447938,"node_id":"MDU6SXNzdWUzOTE0NDc5Mzg=","number":21,"title":"double tag causes an error.","user":{"login":"hhrhhr","id":966048,"node_id":"MDQ6VXNlcjk2NjA0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/966048?v=4","gravatar_id":"","url":"https://api.github.com/users/hhrhhr","html_url":"https://github.com/hhrhhr","followers_url":"https://api.github.com/users/hhrhhr/followers","following_url":"https://api.github.com/users/hhrhhr/following{/other_user}","gists_url":"https://api.github.com/users/hhrhhr/gists{/gist_id}","starred_url":"https://api.github.com/users/hhrhhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhrhhr/subscriptions","organizations_url":"https://api.github.com/users/hhrhhr/orgs","repos_url":"https://api.github.com/users/hhrhhr/repos","events_url":"https://api.github.com/users/hhrhhr/events{/privacy}","received_events_url":"https://api.github.com/users/hhrhhr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-16T08:58:46Z","updated_at":"2018-12-16T08:58:46Z","closed_at":null,"author_association":"NONE","body":"file `xml_bug.xml`:\r\n```\r\nlocal xml2lua = require(\"xml2lua\")\r\nlocal handler = require(\"xmlhandler.tree\")\r\nlocal xml = [[\r\n<tag1>\r\n    <tag2/>\r\n    <tag2/>\r\n</tag1>\r\n]]\r\nlocal parser = xml2lua.parser(handler)\r\nparser:parse(xml)\r\n```\r\n\r\noutput:\r\n```\r\n: .\\xmlhandler\\tree.lua:118: bad argument #1 to 'insert' (table expected, got string)\r\nstack traceback:\r\n        [C]: in function 'table.insert'\r\n        .\\xmlhandler\\tree.lua:118: in function 'xmlhandler.tree.starttag'\r\n        .\\XmlParser.lua:345: in upvalue 'parseNormalTag'\r\n        .\\XmlParser.lua:377: in upvalue 'parseTagType'\r\n        .\\XmlParser.lua:449: in function 'XmlParser.parse'\r\n        xml_bug.lua:10: in main chunk\r\n        [C]: in ?\r\n```"}}
{"actor":{"display_login":"hhrhhr"}}