Quote:
Originally Posted by gerardarmando
Hi... I wonder if this could be considered a good practice  to avoid widows in modern days.
[...]
I know we can't do much to avoid single lines in kindle, but I wonder if this should be considered a good practice to avoid lone words on the last line of a paragraph. [...] But I need to be sure that this isn't a bad practice 
|
I wouldn't recommend using the   to attach the last word in ebooks.
Many worse issues would occur, especially at large font sizes + small screens.
(And welcome to MobileRead!)
Quote:
Originally Posted by gerardarmando
I control this in printed books in InDesign using GREP and i'd like to do this in e-books.
|
Are you working on books in a specific language that has these rules?
If it's actual language conventions,
perhaps there can be an argument made for using   in rare cases. (In Polish, single-letter words like 'z' or 'w' at the end of a line = wrong.)
... but if it's "just for looks"... no, I wouldn't use non-breaking spaces in that way.
Side Note: In CSS4, there's an issue noted for "Last Line Minimum Length", but nothing came out of it so far:
https://www.w3.org/TR/css-text-4/#last-line-limits