From c4a7bb6f150cfae2550137c705ab8636fda5c528 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 28 Apr 2026 21:50:06 +0200 Subject: [PATCH] add extension for mimetypes text/html and text/plain --- inc/inc.Utils.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/inc.Utils.php b/inc/inc.Utils.php index 3d7134af1..8cad89298 100644 --- a/inc/inc.Utils.php +++ b/inc/inc.Utils.php @@ -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; }