View Single Post
Old 03-03-2020, 11:41 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,694
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by LarkinJM View Post

I get this several times. here is an example of some of the lines referenced:


Code:
  <h2>

    <p class="block_21" id="calibre_pb_8">6</p>

    <p class="block_24">The Real Enterprise</p>

  </h2>
As turtle91 stated, not all elements can be nested.

For future use, you might want to add the epubcheck plugin to calibre's editor. It is a much better error checker than the builtin calibre error checker. See [Editor Plugin] EpubCheck for information on installing, etc.

For your sample, something like the following would work (the <br /> breaks the output into two lines).

Code:
<h2><span class="block_21" id="calibre_pb_8">6</span><br />
    <span class="block_24">The Real Enterprise</span></h2>

Last edited by DNSB; 03-03-2020 at 11:46 AM.
DNSB is offline   Reply With Quote