diff options
-rw-r--r-- | src/Haddock/Backends/Html.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 034c4db2..40595eae 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -484,8 +484,8 @@ ppHtmlIndex odir doctitle maybe_package maybe_html_help_format [ if visible then linkId mod (Just nm) << toHtml (moduleString mod) else - toHtml (moduleString mod) - | (mod, visible) <- entries ]) + toHtml mdl + | (Module mdl, visible) <- entries ]) initialChars = [ 'A'..'Z' ] ++ ":!#$%&*+./<=>?@\\^|-~" |