Skip to content

Commit

Permalink
fix typo in Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Dec 3, 2023
1 parent e74d472 commit 8158a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Scotty/Action.hs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ html t = do
changeHeader addIfNotPresent "Content-Type" "text/html; charset=utf-8"
raw $ BL.fromStrict $ encodeUtf8 t

-- | Set the body of the response to the given 'T.Text' value. Also sets \"Content-Type\"
-- | Set the body of the response to the given 'T.Text' value. Also sets \"Content-Type\"
-- header to \"text/html; charset=utf-8\" if it has not already been set.
htmlLazy :: (MonadIO m) => TL.Text -> ActionT m ()
htmlLazy t = do
Expand Down

0 comments on commit 8158a8c

Please sign in to comment.