Quote:
Originally Posted by jackie_w
Inside the KoboTouchExtended.zip file find the container.py file, change lines 540-544 from
Code:
groups = re.split(
r'(.*?[\.\!\?\:][\'"\u201d\u2019“…]?\s*)',
text,
flags=re.UNICODE | re.MULTILINE,
)
to
|
Thank you i was made lots of trials until now. What I realized:
this method above is ok, until the text do not have any direct formatting tag inside the sentence. for example: <i>, or <b> or even a <br/> what is newline, and so on. Somehow the procedure is handling those tags separated, and puts spans around them.
I think this is a "calibre" behavior. It makes class from any single <i>... tags a <i span class="calibrexx"... and that generates the above mentioned code
Do you know any bypass code for that to insert into the kte somewhere?
For example change the <i> to a @lti@gt , process the "spanning" and change back to the original.
So the sentence would be kept, and not split with spans.
the best would be bypass any "calibre-ish" convert, just let the epub as it is, and send it to the device "kepub-ized"...
thank you