- From: Lea Verou <lea@verou.me>
- Date: Sun, 4 Jan 2015 01:22:55 +0200
- To: Michał Gołębiowski <m.goleb@gmail.com>
- Cc: www-style list <www-style@w3.org>
Yup, you’re making a great point here that I forgot to mention: Authors are currently trying to avoid these kinds of orphans by inserting non-breaking spaces between the last two words on a paragraph or heading, either manually or via scripting. This is awfully hacky and there *really* should be a better way to do this. On Jan 4, 2015, at 00:58, Michał Gołębiowski <m.goleb@gmail.com> wrote: > I'd b very happy if such a thing existed in CSS. In Poland it's considered an error to put single-letter words like 'w' ('in'), 'z' ('with') etc. at the end of the line. Clients often expect this to be fixed; in one project we had to read the text from the backend and manually replace all spaces after such words with non-breaking ones via JS on the client side. Such a thing doesn't influence performance in a good way so I'd be glad if we could just do it with plain CSS. > > -- > Michał Gołębiowski
Received on Saturday, 3 January 2015 23:23:46 UTC