View Single Post
Old 08-23-2010, 07:23 AM   #8
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by capidamonte View Post
user_none, could you give an example where this would fail?
Code:
<a id="toc_1" />
<p>Chapter 1:</p>
<p>I am the first chapter.</p>
Code:
<h1>Chatper 2:</h1>
<p id="toc_2">I am the second chapter. Notice the toc marker is on the content not the heading.</p>
Code:
<div id="toc_3">I am the third chapter. Notice I don't have a heading. Yet because the TOC can just point to a location and stores the text separately I will show in the TOC as "Chapter 3".</div>
user_none is offline   Reply With Quote