Exemple:
<h1>1</h1>
<h3>2</h3>
<h1>3</h1>
While render that:
<ul>
<li><a href="#-2">1</a>
<ul>
<ul>
<li><a href="#-3">2</a></li>
</ul>
</ul></li>
</ul>
<li><a href="#-4">3</a></li>
Inside of this
<ul>
<li><a href="#-2">1</a>
<ul>
<ul>
<li><a href="#-3">2</a></li>
</ul>
</ul></li>
<li><a href="#-4">3</a></li>
</ul>
I've try to solve it, but at this time no success :(
Comments
Comment #1
billyboylindien commentedI think, I've found the mistake ...
It seems to come from html filter.
Comment #2
deviantintegral commentedNote that given your input above, you should get an extra set of ul's - the code assumes that your headings are well structured, and that you don't skip any heading levels. But glad you've got it working!
--Andrew
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.