* escaping comments
This commit is contained in:
parent
e6746984f5
commit
36c4d7e84e
2 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ renderComments comments lang = sequence_ $ map showComment comments
|
|||
showComment :: Comment -> Html
|
||||
showComment (Comment{..}) = H.li $ do
|
||||
H.i $ toHtml $ T.append cauthor ": "
|
||||
preEscapedText $ ctext
|
||||
toHtml ctext
|
||||
H.p ! A.class_ "tt" $ toHtml $ timeString cdate
|
||||
timeString t = formatTime defaultTimeLocale (cTimeFormat lang) t
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue