View Single Post
Old 08-12-2014, 10:35 PM   #1069
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,588
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
As posted over in the Kobo forums there seems to be an error in the driver involving the handling of certain, unusual markup.

The original post reads:
Quote:
Originally Posted by cybmole View Post
in one specific book, I am seeing a most strange effect. I appreciate that teh authro of the relevant plugin which tweaks epub iunto kepub is not longer actively involced here. but I am hoping shomeone else can shed some light

what i see on AuraHD is that each h tag chapter header is printed twice.
when I intcept the converted-to-kepub code, then sure enought it is in there - see below, but it is not in the epub source,
so something in how this header line is constructed must be causing the plug-in to glitch. I have not seen it do this with any other book

kepub code ( plug in configured to save a copy to PC, as it send to device )
Code:
<h1 class="h"><span class="koboSpan" id="kobo.6.1"><img alt="002" class="imgepub" src="../Images/stro_9781101081983_oeb_002_r1.gif" />BOMB SCARE</span><span class="koboSpan" id="kobo.6.1">BOMB SCARE</span></h1>
epub (my calibre library file ]
Code:
<h1 class="h"><img alt="002" class="imgepub" src="../Images/stro_9781101081983_oeb_002_r1.gif" />BOMB SCARE</h1>
is it's not going to happen to any other books then I can live with it, i would guess that the <img bit is what triggers the glitch, and that if I stripped that out of the source file, then the doubling effect would go away.
PS the gif is just a little circle thingie, it's not anything meaningful or important.

so I what I should see for that snippet is (centered) BOMB SCARE

what I actually see on Aura HD is (centered) BOMB SCAREBOMB SCARE

and the same throughout the book, for each similarly constructed header
Attached find a small ePub that demonstrates this.
Attached Files
File Type: epub Double H1 Text with Image - Peter Thomas.epub (3.1 KB, 139 views)

Last edited by PeterT; 08-12-2014 at 10:36 PM. Reason: As to why I am doing this.... I really don't know. The OP seemed to think it a waste of HIS time to create a test case.
PeterT is offline   Reply With Quote