View Single Post
Old 07-15-2016, 03:38 AM   #22
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
So I ran into this oddity (bug?) today.

Finereader 12 outputs this footnote code:

Code:
<p><a id="bookmark1"><sup><a href="#footnote1">1</a></sup></a></p>
Sigil 0.8.6 + W3C's XHTML Validator thought the above code was well formed... while Sigil 0.9.6 thought it was not.

If I allowed Sigil 0.9.6 to repair the file, it changed the code to this:

Code:
<p><a id="bookmark1"><sup></sup></a><a href="#footnote1">1</a></p>
I suspect it has to do with a difference between XHTML 1.1 <-> HTML4/5 and allowing nested <a> tags.
Tex2002ans is offline