aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml/DocMarkup.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-05-17 18:35:21 +0200
committerSimon Hengel <sol@typeful.net>2012-05-17 19:08:20 +0200
commita6bcb1e464ff33161f84c5794f5ae239604fb7e5 (patch)
tree05e8f0dc399324f4ff1b06428b5907a3123521ac /src/Haddock/Backends/Xhtml/DocMarkup.hs
parente090bbc5bdc8eb34d5340e467c7157341dfdd945 (diff)
Attach warnings to `Documentation` type
Diffstat (limited to 'src/Haddock/Backends/Xhtml/DocMarkup.hs')
-rw-r--r--src/Haddock/Backends/Xhtml/DocMarkup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml/DocMarkup.hs b/src/Haddock/Backends/Xhtml/DocMarkup.hs
index cd1595f6..052116ee 100644
--- a/src/Haddock/Backends/Xhtml/DocMarkup.hs
+++ b/src/Haddock/Backends/Xhtml/DocMarkup.hs
@@ -86,7 +86,7 @@ docElement el content_ =
docSection :: Qualification -> Documentation DocName -> Html
-docSection qual (Documentation doc) = maybe noHtml (docSection_ qual) doc
+docSection qual = maybe noHtml (docSection_ qual) . combineDocumentation
docSection_ :: Qualification -> Doc DocName -> Html