fix HTML content types in haddocks
commit9f1cb6320673aba76e252c0724b72d380a274e19
authorAlp Mestanogullari <alpmestan@gmail.com>
dateFri 29 May 2015, 16:08 (11 years ago)
parentdb8cf8b
servant-blaze/src/Servant/HTML/Blaze.hs+1−1
@@ -25,7 +25,7 @@ import Text.Blaze.Html.Renderer.Utf8 (renderHtml)
2525
2626data HTML deriving Typeable
2727
28−-- | @text/plain;charset=utf-8@
28+-- | @text/html;charset=utf-8@
2929instance Accept HTML where
3030 contentType _ = "text" M.// "html" M./: ("charset", "utf-8")
3131
servant-lucid/src/Servant/HTML/Lucid.hs+1−1
@@ -24,7 +24,7 @@ import Servant.API (Accept (..), MimeRender (..))
2424
2525data HTML deriving Typeable
2626
27−-- | @text/plain;charset=utf-8@
27+-- | @text/html;charset=utf-8@
2828instance Accept HTML where
2929 contentType _ = "text" M.// "html" M./: ("charset", "utf-8")
3030