View Single Post
Old 12-21-2017, 12:41 AM   #5
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,838
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by BetterRed View Post
I have what I regard as an ugly way around this issue - so I'd also be interested in a more elegant approach ...
What is your ugly workaround?

@Akasashasha — Perhaps inserting a single "placeholder" item would resolve it?

Code:
    <ol>
      <li>
        <a href="filename.xhtml">-</a>
      </li>
    </ol>
(Or is that your ugly workaround, BR? )

ETA: Oh wait, I see KevinH already suggested this!

Note: "filename.xhtml" is an example only. The actual link must be a valid link for the epub to vaidate. The text can be anything you want. I've inserted a hyphen (-) here because you don't seem to want any text in your TOC and a hyphen is small.

Last edited by odamizu; 12-21-2017 at 09:46 PM. Reason: clarity
odamizu is offline   Reply With Quote