Zero-width space (U+200B) on dlang.org navigation panel

Jacob Carlborg doob at me.com
Sun Sep 16 23:28:09 PDT 2012


On 2012-09-17 04:57, H. S. Teoh wrote:
> Just out of curiosity: I noticed today that the navigation links on the
> left-hand column of dlang.org have U+200B inserted after "."'s (such as
> after "std."). What's the reason for this?
>
> Incidentally, my browser is displaying it as an unknown character (a
> browser bug, probably, or a screwed-up font) but I'm just curious about
> why this is needed here. Shouldn't it just be straight ASCII, like
> "std.algorithm" instead of "std.<U+200B>algorithm"?

I suggested adding zero-with space characters to allow the browser 
breaking long links on multiple lines. This makes the experience on 
mobile devices a lot better.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list