On Mon, Feb 15, 2021 at 02:41:55PM +0100, Patrice Dumas wrote: > Hello, > > I had a look at the result when there is no node, with a document like > > @top top > > @chapter chap1 > > @section sec1 > > and in that case there is are no <div>, but <span> are used instead. > (There is also a lone </div> closed, not sure where it comes from.)
I notice another problem with that input: accesskey="1" is an attribute on two separate elements: <body lang="en"> <span id="top"></span><h1 class="top">top</h1> <ul class="section-toc"> <li><a href="#chap1" accesskey="1">chap1</a></li> </ul> <span id="chap1"></span><h2 class="chapter">1 chap1</h2> <ul class="section-toc"> <li><a href="#sec1" accesskey="1">sec1</a></li> </ul> <span id="sec1"></span><h3 class="section">1.1 sec1</h3> <hr></div> </body>
