View Single Post
Old 06-22-2014, 09:34 AM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Inline TOC loses formatting

If I have additional formatting applied to the Hx that will be in the Inline TOC, the <i>, <sup> etc. do not carry over to the TOC file

I can apply them manually, and then they do show in the epub's inline TOC

I don't do anything fancy like that very often, but it would be more convenient if I didn't have to try to remember that

Thanks

Spoiler:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>
<title>Test TOC</title>
</head>

<body>

<h1>Test TOC - Two <sup>Superscript</sup> and <sub>Subscript</sub></h1>

<p>Test text</p>

<p>Test text</p>

<p>Test text</p>

<p>Test text</p>

<p>Test text</p>

</body>

</html>



Spoiler:

<body id="calibre_generated_inline_toc">

<h2>Table of Contents</h2>

<ul class="level1">

<li><a href="One.html">Test TOC - One Bold Italic</a></li>

<li><a href="Two.html">Test TOC - Two Superscript and Subscript</a></li>

<li><a href="Three.html">Test TOC - Three underline and strikethrough</a></li>

</ul>

</body>

</html>
Attached Files
File Type: epub Test_TOC.epub (2.9 KB, 233 views)

Last edited by phossler; 06-22-2014 at 09:37 AM.
phossler is offline   Reply With Quote