* proper comment escaping
This commit is contained in:
parent
f591f6b4f7
commit
b8a045d163
2 changed files with 10 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ renderComments comments lang = sequence_ $ map showComment comments
|
|||
showComment :: Comment -> Html
|
||||
showComment (Comment{..}) = H.li $ do
|
||||
H.i $ toHtml $ T.append cauthor ": "
|
||||
toHtml ctext
|
||||
preEscapedText 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