February 17, 2015
On Mon, Feb 16, 2015 at 07:51:16PM -0800, H. S. Teoh via Digitalmars-d wrote:
> Something recently broke in the dlang.org repo; now multi-word headings are not properly rendered in HTML. See, for example:
> 
> 	http://dlang.org/phobos-prerelease/std_string#.translate
> 
> The heading "SeeAlso" appears as a single word, whereas it should be two words "See Also". This doesn't appear to be a bug in the source code itself, because running dmd -D on the source file directly does not produce this effect (the correct two-word heading is produced). Rather, it seems to be an artifact of some kind of post-processing script in the dlang.org repo (or perhaps in the Phobos makefile) that also introduces anchor tags around the heading.
> 
> This needs to be fixed ASAP, as it looks *really* ugly.
[...]

git bisect shows the problem first appearing in dlang.org commit:

	db6221e0f4aa714187da022013019268b172e4f9

which is part of:

	https://github.com/D-Programming-Language/dlang.org/pull/769

Not sure how to fix this, as the anchor name probably shouldn't have embedded spaces. :-(


T

-- 
If you think you are too small to make a difference, try sleeping in a closed room with a mosquito. -- Jan van Steenbergen
February 17, 2015
On Mon, Feb 16, 2015 at 08:20:10PM -0800, H. S. Teoh via Digitalmars-d wrote: [...]
> Not sure how to fix this, as the anchor name probably shouldn't have embedded spaces. :-(
[...]

Actually, this irritated me so much that I decided to hack-fix it:

	https://github.com/D-Programming-Language/dlang.org/pull/908

Destroy!

<rant> $(INSERT long rant about lack of string-manipulation functions in
ddoc) </rant>


T

-- 
English is useful because it is a mess. Since English is a mess, it maps well onto the problem space, which is also a mess, which we call reality. Similarly, Perl was designed to be a mess, though in the nicest of all possible ways. -- Larry Wall