Quote:
Originally Posted by 7dau253mrwry4spf
But it does not correspond to the behavior described by kobo in the linked document. I put the anchor out of the "div" tag just for the purpose of "breaking" rule no. 2:
The content of the <a> node is 0 characters.
|
But, "Organization of This Book" is not. And I'm pretty sure that is what you saw in the popup.
What I didn't explicitly say, but, I thought I made clear is: We don't know what all of the rules are. The ones in that document are the official rules. But, experiments have shown that they aren't complete. Some questions that I asked to Kobo showed they were not complete, but, they are the only guide we have.
In your example, I think what is happening is the the software sees the target and searches for the enclosing block tags and they that fit the rules of being a footnote and hence uses a popup. Or, because the anchor is not in a block, takes the following block (the div) and see that that matches the rules. Without seeing more code, I can't say more than that.
And for me to see the code, you can do a few things. If you use calibre, the
ScrambleEbook plugin can produce a version of the book that can be posted. You could also produce a sample that reproduces it. Reducing the book down to the minimum to show the problem and changing a few words might do it. Or upload the book somewhere and send my a PM with the link.
And if the point of this is to define a set of footnotes for your book, then follow the rules in that document. It even has an example that will work. Putting the id for the target in a paragraph or list item tag or whatever is the best way to do it.