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