2 ms·
Worth noting that this is the whole purpose of the Soft Hyphen character: https://en.m.wikipedia.org/wiki/Soft_hyphen https://en.m.wikipedia.org/wiki/Soft_hyph
by jez 7y ago
Worth noting that this is the whole purpose of the Soft Hyphen character:
https://en.m.wikipedia.org/wiki/Soft_hyphen https://en.m.wikipedia.org/wiki/Soft_hyphen
the browser won’t display any glyph unless it breaks the word at that point. Alternatively, you don’t need to insert soft hyphens at all if you’re fine relying on the browser’s hyphenization dictionary for your language, and the CSS word-break property is set. The downside there is that sometimes the browser will get really aggressive and terminate nearly every line with a broken word, reducing legibility.