Originally Posted by kovidgoyal
Wrap the <a> element in a <div>
Many thanks. You mean: <div><a></a></div>, right?
Any way of doing this automatically? That is, the ePub has 150 chapters and each has an anchor. Can calibre search and replace throughout the ePub? If not, any ideas what program could do this simply and easily?
By the way, is this a problem with calibre or with epubcheck? If it's a problem with epubcheck, any chance of getting the epub-fix to fix this as well?
Many thanks for an amazing piece of software!