diff options
author | David Waern <david.waern@gmail.com> | 2011-11-26 22:10:28 +0100 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2011-11-26 22:10:28 +0100 |
commit | 07c816c5e548824bb089442cf32d70682e47200b (patch) | |
tree | 5300bfd77bd12fbbfbf604844057d43f2d22eec6 /src/Haddock/Backends/Xhtml/DocMarkup.hs | |
parent | 638683cbe3d68427273ad71eeb8f704e165952fa (diff) |
Fix module reference bug.
Diffstat (limited to 'src/Haddock/Backends/Xhtml/DocMarkup.hs')
-rw-r--r-- | src/Haddock/Backends/Xhtml/DocMarkup.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Haddock/Backends/Xhtml/DocMarkup.hs b/src/Haddock/Backends/Xhtml/DocMarkup.hs index 87d67b76..f506d2b8 100644 --- a/src/Haddock/Backends/Xhtml/DocMarkup.hs +++ b/src/Haddock/Backends/Xhtml/DocMarkup.hs @@ -21,7 +21,6 @@ module Haddock.Backends.Xhtml.DocMarkup ( import Haddock.Backends.Xhtml.Names import Haddock.Backends.Xhtml.Utils -import Haddock.GhcUtils import Haddock.Types import Haddock.Utils @@ -39,7 +38,7 @@ parHtmlMarkup qual ppId = Markup { markupIdentifier = thecode . ppId, markupIdentifierUnchecked = thecode . ppUncheckedLink qual, markupModule = \m -> let (mdl,ref) = break (=='#') m - in ppModuleRef (mkModuleNoPackage mdl) ref, + in ppModuleRef (mkModuleName mdl) ref, markupEmphasis = emphasize, markupMonospaced = thecode, markupUnorderedList = unordList, |