We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8389c13 + 2355023 commit 4c37817Copy full SHA for 4c37817
src/Distribution/Server/Pages/Package/HaddockHtml.hs
@@ -27,7 +27,7 @@ htmlMarkup modResolv = Markup {
27
markupOrderedList = ordList . map snd,
28
markupDefList = defList,
29
markupCodeBlock = pre,
30
- markupHyperlink = \(Hyperlink url mLabel) -> anchor ! [href url] << maybe url showHtmlFragment mLabel,
+ markupHyperlink = \(Hyperlink url mLabel) -> anchor ! [href url] << fromMaybe (toHtml url) mLabel,
31
markupAName = \aname -> namedAnchor aname << toHtml "",
32
markupPic = \(Picture uri mtitle) -> image ! (src uri : maybe [] (return . title) mtitle),
33
markupMathInline = \mathjax -> toHtml ("\\(" ++ mathjax ++ "\\)"),
0 commit comments