-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Hi,
I suspect a bug in the sections tree generated by Herold, when 2 html headings share the same level :
eg with h2 :
<h1>title1</h1><p>para 1</p>
<h2>title 2.1</h2><p>para 2.1</p>
<h2>title 2.2</h2><p>para 2.2</p>converted in :
<section>
<title> title1 </title>
<para>para 1</para>
<section>
<title>title 2.1</title>
<para>para 2.1</para>
<section>
<title>title 2.2</title>
<para>para 2.2</para>
</section>
</section>
</section>In this case, i expected section 2.1 and section 2.2 at the same level in the tree sections :
<section>
<title> title1 </title>
<para>para 1</para>
<section>
<title>title 2.1</title>
<para>para 2.1</para>
</section>
<section>
<title>title 2.2</title>
<para>para 2.2</para>
</section>
</section>Do you agree?
Metadata
Metadata
Assignees
Labels
No labels