Skip to content

Commit

Permalink
Added comment .
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jun 24, 2009
1 parent 3ef1d96 commit 5369575
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Network/Gitit/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ import Data.Maybe
-- will often contain decimal character references. We want to convert these
-- to regular unicode characters. We also need to use toString to
-- convert from UTF-8, since Happstack doesn't do this.
-- Note: happstack >= 0.3.2 does convert from UTF-8, but we keep these
-- definitions because happstack doesn't decodeCharacterReferences in 'look'.

look :: String -> RqData String
look = liftM (decodeCharacterReferences . toString) . lookBS
Expand Down

0 comments on commit 5369575

Please sign in to comment.