Ticket #262 (new defect)

Opened 4 years ago

Links to anchors have confusing labels

Reported by: bit_slayer Owned by:
Priority: minor Milestone:
Version: 2.11.0 Keywords: link anchor label


At the moment, when you link to an anchor in haddock using something like "MyModule#anchor", the link on the generated page just says "MyModule". This is very confusing because it looks like the link is taking one to the module page, when really it goes to a specific anchor on that page. It would be great if either the anchor name could be added to the label for the link to make it clear where the links is going, or if there were a way one could manually specify the label of the link --- say, by borrowing the syntax used by URLs to specify the label using a space, such as "MyModule#anchor label goes here".

Note: See TracTickets for help on using tickets.