Quote:
Originally Posted by tonyx3
As for links to chapters working, shouldn't it be able to use my simple regex to match the chapter headings, and then tag them with the appropriate header tags in my output file?
|
No, you can't just insert random tags into XHTML and have it still be valid. A regex can match anything at all. It could match a fragment something like:
Code:
<span class="ONE">Bad, bad bad<a>
Where only the fragment in bold is matched. How do you suggest calibre insert tags in this case?