View Single Post
Old 06-20-2020, 01:11 AM   #2205
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 387
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Quote:
Originally Posted by Strether View Post
I don't know any CSS at all, but in a book I downloaded today, none of the italicized words were followed by a space. When I checked the Kindle version, they all were.

Jim
Same here. I have the same book in a Kobo Aura ONE which I imported from Calibre last week. The italics have a space after.

The same book imported from Calibre yesterday to a Libra H20 after updating 3 Kobo plugins have no space after the italics.

Opening the original epub in Sigil, there is a space after the italics.

Here are the differences in the kepubs:

OLD, with space after italics
Code:
<span class="koboSpan" id="kobo.57.5">CAY has been featured on the covers of</span> <span class="italic"><span class="koboSpan" id="kobo.57.6">Westways</span></span> <span class="koboSpan" id="kobo.58.1">and</span> <span class="italic"><span class="koboSpan" id="kobo.59.1">Los Angeles</span></span> <span class="koboSpan" id="kobo.60.1">magazines,
Which renders as "CAY has been featured on the covers of Westways and Los Angeles magazines,"

NEW, without space after italics
Code:
<span class="koboSpan" id="kobo.52.5">CAY has been featured on the covers of</span> <span class="italic"><span class="koboSpan" id="kobo.52.6">Westways</span></span><span class="koboSpan" id="kobo.53.1">and</span> <span class="italic"><span class="koboSpan" id="kobo.54.1">Los Angeles</span></span><span class="koboSpan" id="kobo.55.1">magazines,
Which renders as "CAY has been featured on the covers of Westwaysand Los Angelesmagazines,"

BTW, are all those spans absolutely necessary? I can not find any .koboSpan declaration in the CSS. Could the HTML be trimmed?

Last edited by paulfiera; 06-20-2020 at 07:19 AM.
paulfiera is offline   Reply With Quote