September 17, 2012 Zero-width space (U+200B) on dlang.org navigation panel | ||||
|---|---|---|---|---|
| ||||
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
| ||||
September 17, 2012 Re: Zero-width space (U+200B) on dlang.org navigation panel | ||||
|---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | 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 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply