Comment 7 for bug 822744

Revision history for this message
helour (helourx) wrote :

Thanks,

- the first problem (CE character on the end of line):
re.sub(r'([ľščťžňďěřů])</p>\n\n<p>', r'\1 ', inside)
I have solved in the calibre source codes. You don't need to add missing characters. I will send you may patch.

- second problem (CE character before hyphen):
re.sub(r'([áéíýúäôľščťžňďěřů])-</p>\n\n<p>([a-záéíýúäôľščťžňďěřů])', r'\1\2', inside)
still persist, I will have to better look at sources.

Please look at attached files.