git.iko.soy/typeable/servant
on master help sign in
Add markdown type for text/xml

As it's an alternative mime-type for XML

commit061bf7a5b113396a6533260770aec4784da1d5bd authorIvan Lazar Miljenovic <Ivan.Miljenovic@gmail.com> dateThu 5 Oct 2017, 14:32 (9 years ago) parent63d8f6c
1 file changed+1
servant-docs/src/Servant/Docs/Internal.hs+1
servant-docs/src/Servant/Docs/Internal.hs+1
@@ -647,6 +647,7 @@ markdown api = unlines $
647647 case (M.mainType mime_type, M.subType mime_type) of
648648 ("text", "html") -> "html"
649649 ("application", "xml") -> "xml"
650+ ("text", "xml") -> "xml"
650651 ("application", "json") -> "javascript"
651652 ("application", "javascript") -> "javascript"
652653 ("text", "css") -> "css"