File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ const MIMETYPE_TEXT_PLAIN: MimeType = 'text/plain'
2525
2626const MAP_TEXT_EXTENSION_MIMETYPE : Readonly < Record < string , MimeType > > = {
2727 '' : MIMETYPE_TEXT_PLAIN ,
28- // https://www.iana.org/assignments/media-types/media-types.xhtml
28+ // https://www.iana.org/assignments/media-types/media-types.xhtml#text
2929 '.csv' : 'text/csv' ,
3030 '.htm' : 'text/html' ,
3131 '.html' : 'text/html' ,
3232 '.md' : 'text/markdown' ,
3333 '.txt' : MIMETYPE_TEXT_PLAIN ,
3434 '.rst' : 'text/prs.fallenstein.rst' ,
35+ '.rtf' : 'text/rtf' , // not `application/xml` -- our scope is text!
3536 '.xml' : 'text/xml' , // not `application/xml` -- our scope is text!
36- // to be continued ... pullrequests welcome
3737 // add more mime types above this line. pull-requests welcome!
3838 // license-specific files
3939 '.license' : MIMETYPE_TEXT_PLAIN ,
You can’t perform that action at this time.
0 commit comments