View Single Post
Old 07-08-2020, 11:58 AM   #2289
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by jgoguen View Post
The reason for removing empty headings but not other empty content tags is Table of Contents generators frequently look for headings. Having empty headings can cause empty ToC entries to be added.
That's true, but I realized that on my Kobo, when the <h1> tag is completely missing in a html file, the (Kobo-)header will automagically named by "START", which I think is considerably ugly. On the other hand, leaving an empty <h1></h1> tag, will leave either nothing (only the page counting) or the header of the last chapter=the last html file.

This might be something for a patch, perhaps.
Leonatus is offline   Reply With Quote