@Kinneret – I can only guess here:
How is the character style "eng" applied? Is it a nested line style? A GREP Style? Just applied by using the Character Styles Panel?
What will happen, if you remove the sentence plus the character before and after, retype and reformat the sentence?
Further: Please try to select the sentence and run the following script snippet on it:
The alert should show "1" for the number of text style ranges used in the selection, if they are formatted without deviation. It could be "4", if the number of local overrides is corresponding with your doubled closing span tags. However, asking for the number of text style ranges by scripting is no "silver bullet" to indicate all differences in formatting of a selected text. There are exceptions for distinct nested formatting with GREP Styles, maybe other nested styles. But it's worth a try.
thanks for your reply
of course no grep and no nested styles assigned to this text, otherwise I'd say.
I checked that sentence from my first post, it shows "1". No local overrides there.
I tried to rewrite the sentence, it works good, but doesn't answer any question, as i don't write manually any sentence in the book. I copied the sentence to some other part in epub, the problem persists.
The simple answer is: You discovered a bug.
I would report that by using the bug report form here:
I would provide a link to an upload for your original document forcing the bug plus the exported ePub file showing the bug.
Also report the procedure of your workaround rewriting the sentence.
I think, user Yves Apel had a similar case a couple of months ago.