View Single Post
Old 02-14-2025, 12:41 PM   #586
repilo
Connoisseur
repilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmos
 
Posts: 97
Karma: 21870
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
New issue since version 3.7.0 (inclusive) onward.

The following snippet results in incorrect rendering on the Kobo Libra 2 in Kepub.Output version 3.7.0 and later:
Code:
<span class="nosep">C. B.</span> Horrall.
This is how it appears on the Libra 2 screen:
Code:
Text text text text text text text text text
                     C.
text text text text, B. Horrall. Text text
This issue does not occur in version 3.6.11. Additionally, if there is no period (".") inside the <span>, the problem does not appear in the latest versions either.

Below are excerpts from the Kepub conversions using Kepub.Output versions 3.7.0 (incorrect) and 3.6.11 (correct).

Kepub.Output 3.7.0:
Code:
<span class="nosep"><span class="koboSpan" id="kobo.109.1">C.</span> <span class="koboSpan" id="kobo.109.2">B.</span></span> <span class="koboSpan" id="kobo.110.1">Horrall.</span>
Kepub.Output 3.6.11:
Code:
<span class="nosep"><span class="koboSpan" id="kobo.109.1">C. </span><span class="koboSpan" id="kobo.109.2">B.</span></span><span class="koboSpan" id="kobo.110.1"> Horrall.
By the way, "nosep" is meant to prevent text separation:
Code:
.nosep { text-indent:0; display:inline-block; }
repilo is offline   Reply With Quote