in reply to Re: Re: HTML table-of-contents generator
in thread HTML table-of-contents generator

The problem is that HTML::Toc generates invalid HTML.
<a name=h-1><h1>Header One</h1></a>
HTML::GenToc puts the H1 and A tags in the correct order, but doesn't understand (at least, it's not in the docs) the preferred way to do it, which is the way my existing HTML is:
<H1 id="h-1">Header One</H1>
I'd want inserted tags to use this way, and it must certainly understand this way!

—John