Quote:
Originally Posted by quinta@ebf.cz
But conversion should _never_ remove spaces. Sorry, but suggestions to solve it by editing epub are not very relevant.
|
Did you miss where I explained that conversions break when the source has formatting that should not exist?
The source is broken. There should never ever be a space with a soft hyphen. A soft hypen should only ever be inside a word, and shouldn't be in an epub anyway.
No regex needed. Simply replace every soft hyphen with nothing. It's not like non-breaking spaces, which are needed in ebooks, like between a number and a street or a number and a type of unit etc.