diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-11-06 13:53:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 13:53:30 -0800 |
commit | b62c9542480d629bb482f5394dec2fdd5a48af24 (patch) | |
tree | acb4c9df2f760ac930ea209f9d596e09a95df9d0 /haddock-api/src/Haddock/Interface/LexParseRn.hs | |
parent | 82b8f491e18d707f67857bcb170b2147fa275ccc (diff) | |
parent | aeebb79290fb3983271ab9e3fe95dbdae7caccde (diff) |
Merge pull request #875 from harpocrates/feature/markup-in-hyperlinks
Inline markup in markdown-style links and images
Diffstat (limited to 'haddock-api/src/Haddock/Interface/LexParseRn.hs')
-rw-r--r-- | haddock-api/src/Haddock/Interface/LexParseRn.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Interface/LexParseRn.hs b/haddock-api/src/Haddock/Interface/LexParseRn.hs index 87face7c..4dff77ce 100644 --- a/haddock-api/src/Haddock/Interface/LexParseRn.hs +++ b/haddock-api/src/Haddock/Interface/LexParseRn.hs @@ -135,7 +135,7 @@ rename dflags gre = rn DocCodeBlock doc -> DocCodeBlock <$> rn doc DocIdentifierUnchecked x -> pure (DocIdentifierUnchecked x) DocModule str -> pure (DocModule str) - DocHyperlink l -> pure (DocHyperlink l) + DocHyperlink (Hyperlink u l) -> DocHyperlink . Hyperlink u <$> traverse rn l DocPic str -> pure (DocPic str) DocMathInline str -> pure (DocMathInline str) DocMathDisplay str -> pure (DocMathDisplay str) |