Hi all, I'm using Calibre 7.23 and sending epubs to the Kobo. In the process, it adds a lot of CSS to the kepub and removes spaces, which results in missing spaces between words. I also have the Kobo plugins Koboutilities and another one (can't remember), both of which were updated recently. When send an epub to the Kobo (using send specific format, kepub), it converts automatically. But in creates errors. This happens on almost every page, 2-3 words per page have this.
I've tried with the standalone Kepubify tool (
https://pgaskin.net/kepubify) and get the same results.
I've seen another older thread about this, without a real solution and it is closed.
Here is an example of the original epub text:
Another example is when people focus on their preferred issues.
In the original epub, the html for this is simply:
Another example is when people focus on <i>their</i> preferred issues.
Once sent to the kobo however, CSS classes are added and it removes the spaces:
<span class="koboSpan" id="kobo.31.1">Another example is when people focus on</span><i><span class="koboSpan" id="kobo.32.1">their</span></i><span class="koboSpan" id="kobo.33.1"> preferred issues.</span>
This results in the text on the Kobo doing "focus on
their preferred issues.
Why is it doing that, and how can I fix it?
Here's another example, this one with a lot of added CSS (where there shouldn't even be any) which also removes spaces. While the span specifies a type "pagebreak", there shouldn't actually be a page break there, it's in the middle of a paragraph.
On the original epub:
This is similar to the people <span aria-label="page xvi" epub:type="pagebreak" id="page_xvi" role="doc-pagebreak"/>who made it.
In the kepub version:
This is similar to the people</span><span aria-label="page xvi" epub:type="pagebreak" id="page_xvi" role="doc-pagebreak"></span><span class="koboSpan" id="kobo.36.1">who made it.
Once converted, the books are a mess with a lot of CSS added.