Skip to content

Commit 570187f

Browse files
committed
need to use toHtmlRaw to render html string
1 parent 43d2551 commit 570187f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lib/Effects/Post.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ instance ToHtml Post where
9292
toHtml Post {..} = div_ [class_ "post"] $ do
9393
h1_ $ toHtml pTitle
9494
p_ [class_ "post-date"] . toHtml $ formatPostTime pCreatedAt
95-
toHtml $ renderMarkdown pBody
95+
toHtmlRaw $ renderMarkdown pBody
9696

9797
instance ToHtml [Post] where
9898

0 commit comments

Comments
 (0)