View Single Post
Old 02-29-2024, 12:50 PM   #9
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,672
Karma: 87654321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by quinta@ebf.cz View Post
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.
Quoth is offline   Reply With Quote