If a footnote is defined in a heading, the TOC generation seems to generate invalid XHTML.
For example, this HTMLBook content
<h1>Glossary<span data-type="footnote">Unless the field to which
it relates is stated (e.g., Digital Internet, Physical Internet or
Logistics), the definition provided is general</span></h1>
will be transformed into the following invalid XHTML (imbricated <a> elements)
Thanks @fbdcw. Great catch. That's indeed a bug. Will add logic to prevent footnotes in headings from being added to TOC entries, and will let you know when that's in place.
Hi,
If a footnote is defined in a heading, the TOC generation seems to generate invalid XHTML.
For example, this HTMLBook content
will be transformed into the following invalid XHTML (imbricated
<a>
elements)