aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-08-05 14:10:31 +0000
committersimonmar <unknown>2003-08-05 14:10:31 +0000
commite9d8085c4018838f62dbd6a06757cf3e31c35cf2 (patch)
tree343602b26f9cbadc4240f736433ba34b3672a97a
parent9e3f3f2d7ced4c9a1e22fe720351ed866f40675f (diff)
[haddock @ 2003-08-05 14:10:31 by simonmar]
I'm not sure why, but it seems that the index entries for non-defining occurrences of entities did not have an anchor - the link just pointed to the module. This fixes it.
-rw-r--r--src/HaddockHtml.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs
index f6a9bdd5..fc65c4a1 100644
--- a/src/HaddockHtml.hs
+++ b/src/HaddockHtml.hs
@@ -294,7 +294,7 @@ ppHtmlIndex odir doctitle ifaces = do
<-> td << (hsep [ if defining then
bold << linkId (Module mdl) (Just nm) << toHtml mdl
else
- linkId (Module mdl) Nothing << toHtml mdl
+ linkId (Module mdl) (Just nm) << toHtml mdl
| (Module mdl, defining) <- entries ])
initialChars = [ 'A'..'Z' ] ++ ":!#$%&*+./<=>?@\\^|-~"