View Single Post
Old 06-25-2019, 11:23 AM   #5
Mr Groch
Member
Mr Groch began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jun 2019
Device: Kindle PW 4, PB Era Color
Thanks again, but this still isn't enough... I'm replacing all u'\xa0' with ' ' just before mobimlizer as you suggest, and something is replacing my '&' char with '&' in output mobi. I have also tried to move my code after mobimlizer but with no luck. Where that replacing is done?

EDIT: my replacing is done in i.text and i.tail at:
for x in self.oeb.manifest.items:
if x.media_type in OEB_DOCS:
for body in XPath('//h:body')(x.data):
for i in XPath('descendant::h:*')(body):

Last edited by Mr Groch; 06-25-2019 at 11:26 AM.
Mr Groch is offline   Reply With Quote