Add markdown type for text/xml
As it's an alternative mime-type for XML
This commit is contained in:
parent
63d8f6c0f3
commit
061bf7a5b1
1 changed files with 1 additions and 0 deletions
|
@ -647,6 +647,7 @@ markdown api = unlines $
|
||||||
case (M.mainType mime_type, M.subType mime_type) of
|
case (M.mainType mime_type, M.subType mime_type) of
|
||||||
("text", "html") -> "html"
|
("text", "html") -> "html"
|
||||||
("application", "xml") -> "xml"
|
("application", "xml") -> "xml"
|
||||||
|
("text", "xml") -> "xml"
|
||||||
("application", "json") -> "javascript"
|
("application", "json") -> "javascript"
|
||||||
("application", "javascript") -> "javascript"
|
("application", "javascript") -> "javascript"
|
||||||
("text", "css") -> "css"
|
("text", "css") -> "css"
|
||||||
|
|
Loading…
Reference in a new issue