View Single Post
Old 03-31-2016, 10:54 AM   #16
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@bookman156: That happens because you have anchors *inside* the footnote that are pointed to by links in the main text. For example in footnote 9 you have <a id='page170'> Remove that and you will be fine.

The heuristic used to detect footnotes stops on anchors that are pointed to by other links in the text, on the theory that they could be the start of the next footnote. That said, I have changed the heuristic to only regard the anchor as a breaking point if it is not styled as an inline element.
Oh, I see, that's interesting. Those anchors are for links from the index and to aid citation to the printed work. But it doesn't explain why only some random italic text is made invisible but the rest of the footnote after the anchor still appears. Or why footnote numbers disappear on some footnotes with an anchor link (eg 23 in that chapter) but the rest of the footnote appears. So it's not actually stopping on those anchors in footnotes but rather making some random mischief in those footnotes.
bookman156 is offline   Reply With Quote