{"action":"created","issue":{"url":"https://api.github.com/repos/mfuchs23/trafo/issues/1","labels_url":"https://api.github.com/repos/mfuchs23/trafo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mfuchs23/trafo/issues/1/comments","events_url":"https://api.github.com/repos/mfuchs23/trafo/issues/1/events","html_url":"https://github.com/mfuchs23/trafo/issues/1","id":118006190,"number":1,"title":"HTML headings and tree section","user":{"login":"matses","id":1436256,"avatar_url":"https://avatars.githubusercontent.com/u/1436256?v=3","gravatar_id":"","url":"https://api.github.com/users/matses","html_url":"https://github.com/matses","followers_url":"https://api.github.com/users/matses/followers","following_url":"https://api.github.com/users/matses/following{/other_user}","gists_url":"https://api.github.com/users/matses/gists{/gist_id}","starred_url":"https://api.github.com/users/matses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matses/subscriptions","organizations_url":"https://api.github.com/users/matses/orgs","repos_url":"https://api.github.com/users/matses/repos","events_url":"https://api.github.com/users/matses/events{/privacy}","received_events_url":"https://api.github.com/users/matses/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T09:59:13Z","updated_at":"2015-11-20T10:44:52Z","closed_at":null,"body":"Hi,\r\n\r\nI suspect a bug in the sections tree generated by Herold, when 2 html headings share the same level : \r\n\r\neg with h2 :\r\n\r\n```html\r\n<h1>title1</h1><p>para 1</p>\r\n<h2>title 2.1</h2><p>para 2.1</p>\r\n<h2>title 2.2</h2><p>para 2.2</p>\r\n```\r\nconverted in : \r\n```html\r\n<section>\r\n    <title> title1 </title>\r\n    <para>para 1</para>\r\n    <section>\r\n      <title>title 2.1</title>\r\n      <para>para 2.1</para>\r\n      <section>\r\n        <title>title 2.2</title>\r\n        <para>para 2.2</para>\r\n      </section>\r\n    </section>\r\n  </section>\r\n```\r\nIn this case, i expected section 2.1 and section 2.2 at the same level in the tree sections :\r\n```html\r\n<section>\r\n    <title> title1 </title>\r\n    <para>para 1</para>\r\n    <section>\r\n      <title>title 2.1</title>\r\n      <para>para 2.1</para>\r\n    </section>      \r\n     <section>\r\n        <title>title 2.2</title>\r\n        <para>para 2.2</para>      \r\n    </section>\r\n  </section>\r\n```\r\n\r\nAre you agree?"},"comment":{"url":"https://api.github.com/repos/mfuchs23/trafo/issues/comments/158354655","html_url":"https://github.com/mfuchs23/trafo/issues/1#issuecomment-158354655","issue_url":"https://api.github.com/repos/mfuchs23/trafo/issues/1","id":158354655,"user":{"login":"mfuchs23","id":7868444,"avatar_url":"https://avatars.githubusercontent.com/u/7868444?v=3","gravatar_id":"","url":"https://api.github.com/users/mfuchs23","html_url":"https://github.com/mfuchs23","followers_url":"https://api.github.com/users/mfuchs23/followers","following_url":"https://api.github.com/users/mfuchs23/following{/other_user}","gists_url":"https://api.github.com/users/mfuchs23/gists{/gist_id}","starred_url":"https://api.github.com/users/mfuchs23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfuchs23/subscriptions","organizations_url":"https://api.github.com/users/mfuchs23/orgs","repos_url":"https://api.github.com/users/mfuchs23/repos","events_url":"https://api.github.com/users/mfuchs23/events{/privacy}","received_events_url":"https://api.github.com/users/mfuchs23/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T10:44:52Z","updated_at":"2015-11-20T10:44:52Z","body":"Hello, I agree. Which version of herold did you use?"}}