Multi-word headings broken in dlang.org

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 16 20:20:10 PST 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


More information about the Digitalmars-d mailing list