aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Haddock/Backends/Xhtml.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml.hs b/src/Haddock/Backends/Xhtml.hs
index 6ca9d376..3bc2dd6f 100644
--- a/src/Haddock/Backends/Xhtml.hs
+++ b/src/Haddock/Backends/Xhtml.hs
@@ -246,7 +246,7 @@ ppHtmlContents odir doctitle _maybe_package
ppPrologue :: String -> Maybe (Doc GHC.RdrName) -> Html
ppPrologue _ Nothing = noHtml
ppPrologue title (Just doc) =
- docElement divDescription << (h1 << title +++ rdrDocToHtml doc)
+ divDescription << (h1 << title +++ docElement thediv (rdrDocToHtml doc))
ppModuleTree :: [ModuleTree] -> Html