View Single Post
Old 08-28-2019, 06:16 PM   #3
mjcatt
Junior Member
mjcatt began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: kindle voyage, Moon+Reader Pro
Quote:
Originally Posted by theducks View Post
use the default From Headers. The Title attribute prevails when ther
If I use 'Generate TOC from all headers' it picks up the text between <h1></h1>, not the text in the title attribute. So for my example, what ends up going into the TOC is 'Text that goes into book itself'.

What I have noticed is that it will use the title attribute text only if there is no text between <h1></h1>. For example:

<h1 title='Attribute Text'></h1> puts 'Attribute Text' in the TOC, but:
<h1>title='Attribute text'>Book Text</h1> puts 'Book Text' into the TOC.

I wonder if I have a setting wrong somewhere...
mjcatt is offline   Reply With Quote