diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-05-25 17:49:48 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-05-25 11:52:49 -0700 |
commit | bb2530caa414234f00e7c89ef18a538708b2297c (patch) | |
tree | 4437faa228961fa7ac75259098677bb495e3d5d5 /src/Text/Pandoc | |
parent | f2c1b5746912db945be780961b6503e38c3c7e1e (diff) | |
download | pandoc-bb2530caa414234f00e7c89ef18a538708b2297c.tar.gz |
Use haddock-library-1.10.0
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Haddock.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Haddock.hs b/src/Text/Pandoc/Readers/Haddock.hs index 35eaac0a9..67b3af2d3 100644 --- a/src/Text/Pandoc/Readers/Haddock.hs +++ b/src/Text/Pandoc/Readers/Haddock.hs @@ -131,7 +131,8 @@ docHToInlines isCode d' = DocIdentifier s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s _ -> mempty DocIdentifierUnchecked s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s - DocModule s -> B.codeWith ("",["haskell","module"],[]) $ T.pack s + DocModule s -> B.codeWith ("",["haskell","module"],[]) $ + T.pack (modLinkName s) DocWarning _ -> mempty -- TODO DocEmphasis d -> B.emph (docHToInlines isCode d) DocMonospaced (DocString s) -> B.code $ T.pack s |