View Single Post
Old 08-01-2023, 10:58 AM   #19
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by enuddleyarbl View Post
... many times, when I got a popup before, the footnote just continued on for some random amount of text (possibly to chapter breaks.
Yes, I've seen this, too. Particularly when the Endnotes page contains chapter subheadings to indicate which endnotes belong to which chapter. It looks like Kobo may be using some sort of flawed algorithm to detect where an endnote finishes.

If one is using the epub3 <aside> method it should be obvious that the endnote finishes at the </aside> end tag, no need to read any further text.

However, Kobo does also provide a way to get pop-up footnotes in epub2 (as kepub) using simple <a> tags only. I do wonder if this was why they originally thought they needed an algorithm to detect where the endnote ends.

I can't confirm any of this but it looks as if, maybe, they decide an endnote ends when the next <a> tag or id="..." or href="..." on the page is reached (if any) ???

The reason your sample epub3 didn't have any excess text in its endnotes is that the Endnotes page didn't have any excess text. If the page contains only single-paragraph endnotes there is no excess text to muddy the water.
jackie_w is offline   Reply With Quote