diff options
author | David Waern <david.waern@gmail.com> | 2008-10-10 22:35:49 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-10-10 22:35:49 +0000 |
commit | 769bfb301703d5d028d91189744f41ddef144854 (patch) | |
tree | d31118ad33e0e2f79ad499ae58e78e59fb8d058d /src/Haddock/Backends/Html.hs | |
parent | f09d71c5d9174bf6bf8f107fa57fd435132dd18a (diff) |
Add support for DocPic
The support for DocPic was merged into the GHC source long ago,
but the support in Haddock was forgotten. Thanks Peter Gavin for
submitting this fix!
Diffstat (limited to 'src/Haddock/Backends/Html.hs')
-rw-r--r-- | src/Haddock/Backends/Html.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 8b72c1ac..ba304e5c 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -1496,6 +1496,7 @@ parHtmlMarkup ppId = Markup { markupEmphasis = emphasize . toHtml, markupMonospaced = tt . toHtml, markupUnorderedList = ulist . concatHtml . map (li <<), + markupPic = \path -> image ! [src path], markupOrderedList = olist . concatHtml . map (li <<), markupDefList = dlist . concatHtml . map markupDef, markupCodeBlock = pre, |