Pop-up footnotes displaying notes headers
This is only happening for the last footnotes for each chapter, and I can't figure out why.
Footnote pop ups in Kindle Previewer throughout each chapter work normally until whatever the final footnote is of each chapter, then it will display the following Notes section header beneath the footnote in the pop-up.
I've found forcing a page-break before each notes header avoids this, but I'd rather not do that. Even copying the code from an e-book where this doesn't occur hasn't solved this. Any ideas?
Sample:
<section epub:type="division">
<h2 class="notes-head">Footnote header</h2>
<ol>
<li ="notes"><a role="doc-backlink" href="chapter1.xhtml#note1" id="ch1_note_R1">1.</a> Footnote text</li>
<li class="notes"><a role="doc-backlink" href="chapter1.xhtml#note2" id="ch1_note_R2">2.</a> Last footnote text</li>
</ol>
</section>
<section epub:type="division">
<h2 class="notes-head">Following footnote header</h2>
<li ="notes"><a role="doc-backlink" href="chapter2.xhtml#note1" id="ch2_note_R1">1.</a> Footnote text</li>
|