The intent of the "mywbr" span is to allow a line break between "/" and the following character (since we sometimes have long identifiers where characters like "/" are a helpful break point). The "mywbr" style sets the span width to 0 to avoid rendering any space.
Danny Yoo was the last person to try to improve this. See https://github.com/plt/racket/commit/29031f0972 which he reverted with https://github.com/plt/racket/commit/7323dde0ea At Wed, 6 Nov 2013 18:58:16 -0800, Matthew Butterick wrote: > Round about line 1494 is the following: > > '(span ([class "mywbr"]) " " nbsp)) > > I believe this line is causing the (I assume unintended) side effect of > adding a spurious space after slashes within Racket commands in the > left-hand navigation in the documentation, for instance here: > > http://docs.racket-lang.org/reference/for.html?q=for/list#(part._.Iteration_and > _.Comprehension_.Forms) > > > So in the left nav, commands with slashes are displayed like this: > > for/ list > for/ vector > for/ hash > ... > > But they ought to appear like this: > > for/list > for/vector > for/hash > ... > > > Matthew Butterick > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users