add extension for mimetypes text/html and text/plain

This commit is contained in:
Uwe Steinmann 2026-04-28 21:50:06 +02:00
parent bc7204adf0
commit c4a7bb6f15

View File

@ -801,6 +801,8 @@ function get_extension($mimetype) { /* {{{ */
case 'text/xml': return '.xml';
case 'text/x-php': return '.php';
case 'text/x-tex': return '.tex';
case 'text/html': return '.html';
case 'text/markdown': return '.md';
case 'message/rfc822': return '.eml';
default: return false;
}