Re: [csswg-drafts] [css-text] Prevent line breaking after explicit hyphens (#3434)

This is a major issue with composed names like cities and first names. Ex.: Jean-François, Saint-Pamphile, etc.

Lots of writing guides and stylistic guides mention to never split a name like this. And just like @aghArdeshir mentioned, most of the times, I don't have control on the content itself so replacing manually or parsing the content before outputting it to the HTMl character is very much unviable.

The best solution would be a new value to the word-break property.

-- 
GitHub Notification of comment by davidwebca
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3434#issuecomment-1328104982 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 26 November 2022 19:57:35 UTC