fix HTML content types in haddocks
This commit is contained in:
parent
db8cf8bd8d
commit
9f1cb63206
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ import Text.Blaze.Html.Renderer.Utf8 (renderHtml)
|
|||
|
||||
data HTML deriving Typeable
|
||||
|
||||
-- | @text/plain;charset=utf-8@
|
||||
-- | @text/html;charset=utf-8@
|
||||
instance Accept HTML where
|
||||
contentType _ = "text" M.// "html" M./: ("charset", "utf-8")
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import Servant.API (Accept (..), MimeRender (..))
|
|||
|
||||
data HTML deriving Typeable
|
||||
|
||||
-- | @text/plain;charset=utf-8@
|
||||
-- | @text/html;charset=utf-8@
|
||||
instance Accept HTML where
|
||||
contentType _ = "text" M.// "html" M./: ("charset", "utf-8")
|
||||
|
||||
|
|
Loading…
Reference in a new issue