View Single Post
Old 01-17-2012, 11:24 AM   #1
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Unwanted <Div> at end of file

Hi,

Can anyone help.

I am converting existing Epub files to my liking i.e. setting up chapter headings etc.

I use Sigil to tidy up the file and set up h2 (title) h3 (Chapter heading) & h4 (Chapter title).

I then use Calibre to convert the file splitting on h3 - which is fine so far.

The problem I have is after conversion at the end of each file I now have:

e.g. <div class="calibre7" id="calibre_pb_2"></div> progressing by 2 each file.
<div class="calibre7" id="calibre_pb_4"></div>

This wasn't there before conversion.

It doesn't appear to do anything and if removed has no effect, that I can see, on the file.

Can anyone explain why Calibre puts it in, if it's needed and if not how to prevent it?

Failing that can anyone show me how to block remove all the codes using regex as I have tried and have no idea what to do.

Any help would be greatly appreciated
Paxman53 is offline   Reply With Quote