digitalmars.D - Zero-width space (U+200B) on dlang.org navigation panel
- H. S. Teoh (12/12) Sep 16 2012 Just out of curiosity: I noticed today that the navigation links on the
- Jacob Carlborg (6/13) Sep 16 2012 I suggested adding zero-with space characters to allow the browser
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"? T -- We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true. -- Robert Wilensk
Sep 16 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
Sep 16 2012