@kovid: thanks very much for your great app !
@sieberd: thanks for the info, i'll look into it.
Quote:
Originally Posted by DiapDealer
I can't find where it's happening for the life of me, but something in your code is doubling the html output.
|
I found a file to debug that

Here's a fixed version including the typos mentioned earlier.
...
The bug was a weird collateral of the "ncx filepos anchor injection" code.
The duplication occured because an entry had -1 as filepos, meaning an extra large "dataList".
The cause was IDXT parsing, some files have an extra null entry at the end.
I added two checks to prevent both problems.
...
REUP: after posting that i realized it'd be better to use header['count'] to determine when to stop parsing IDXT...