summaryrefslogtreecommitdiff
path: root/src/Language/PureScript/Docs/AsHtml.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language/PureScript/Docs/AsHtml.hs')
-rw-r--r--src/Language/PureScript/Docs/AsHtml.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/PureScript/Docs/AsHtml.hs b/src/Language/PureScript/Docs/AsHtml.hs
index e99c5b6..c3eec5b 100644
--- a/src/Language/PureScript/Docs/AsHtml.hs
+++ b/src/Language/PureScript/Docs/AsHtml.hs
@@ -126,7 +126,7 @@ declAsHtml r d@Declaration{..} = do
H.div ! A.class_ "decl" ! A.id (v (T.drop 1 declFragment)) $ do
h3 ! A.class_ "decl__title clearfix" $ do
a ! A.class_ "decl__anchor" ! A.href (v declFragment) $ "#"
- text declTitle
+ H.span $ text declTitle
for_ declSourceSpan (linkToSource r)
H.div ! A.class_ "decl__body" $ do