Quote:
Originally Posted by JimmXinu
That's rather odd. Are you doing anything to the epubs in between? Converting, Polishing, editing? Have you customized your CSS or HTML in FFDL's personal.ini?
There are a few things you could do to help figure this out.
Next time you go to do updates, run calibre from a command line as "calibre-debug -g", then after you see this problem again, copy the debug output from the command line window and post it here.
It would be helpful for me to see one of the epubs with blank chapters. Next time it happens, please save the epub and post it here or some where else I can see it.
It would be even more helpful for me to see the epub before the problem happens, too. But to do that, you'd have to save a copy before updating every time.
|
I think I found this issue, if the ebub has been re-converted by calibre it changes the body tag from <body> to <body class="calibre">. When you use Update existing fanfiction book it adds the <body> tag back so now there are 2 open body tags but only 1 close tag
so it looks like this:
<body>
</head>
<body class="calibre">
I'm not sure why it adds the open body tag before the close head tag or why it only sometimes blanks out the old chapters.
I did confirm that before adding the new chapter there is only <body class="calibre"> & no extra body tag, after adding the new chapter all the existing chapters have the extra body tag.
I'm not sure if this is something you can fix in your plugin or if its a calibre itself issue.
I'm going through all Fanfiction books & changing all the <body class="calibre"> to <body>. I'll let you know if the issue happens again after all the body tags have been fixed/changed.