Soft hyphens are automatically added in the content for a nicer automatic word wrap. Particularly suitable for justification. Uses Hyphenator.js.
There are some arguments against client side hyphenation - true. It costs a lot of computing time and the patterns have to be loaded for each language, everytime. But I believe that hyphenation belongs to the client:
- Only the client «knows» where to break a line (and if at all).
- A html file that has been hyphenated on the server would be full of ­'s. That's ugly and nobody knows how that would be treated by search engines…
- Hyphenation on the client can be turned off to work around copy&paste- and search-bugs in most browsers.
- there are billions of mostly underworked clients vs. millions of often overloaded servers.
Your browser has a bug (currently, only Firefox3 finds hyphenated words). So I don't want/can't fix this in Hyphenator.js. The only thing we can do is to turn hyphenation off before searching.
This is fixed since version 3.0.0.
Some screen readers have issues with words that contain soft hyphens (they read syllables instead of words). Please note that this is not an issue of Hyphenator but a bug in the screen reader. Please contact the makers of the screen reader application.