[Issue 10365] Anchors in ddoc are generated with a leading dot

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 9 09:38:58 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=10365

Nick Treleaven <ntrel-public at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntrel-public at yahoo.co.uk

--- Comment #5 from Nick Treleaven <ntrel-public at yahoo.co.uk> ---
BTW this is by design. When we added qualified anchors, I wanted to keep all
existing anchors working. This would have been broken without the leading dot,
e.g.:

Foo.bar
bar

Foo.bar gets the original anchor 'bar', bar also gets the new anchor '.bar'.
Without the dot, an existing link to 'bar' would change from pointing to the
1st to the 2nd item.

--


More information about the Digitalmars-d-bugs mailing list