From 8158a8c06f51b9fb35000a1618e634d4ee0668d3 Mon Sep 17 00:00:00 2001 From: Marco Zocca Date: Sun, 3 Dec 2023 09:12:57 +0100 Subject: [PATCH] fix typo in Action --- Web/Scotty/Action.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Scotty/Action.hs b/Web/Scotty/Action.hs index 54a12a3d..b73e691a 100644 --- a/Web/Scotty/Action.hs +++ b/Web/Scotty/Action.hs @@ -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