I have another error. See below:

The marked text is exported to the file, but not the text before and after it. If I unmark the option, I do not get these messages.
I looked at the code of the ePUB and found out that in this particular case there was this:
random text</i> <i>
marked text.