From a3574bac6cd80e6af2292cb2e61f45fcc009d433 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Mon, 20 Oct 2014 16:21:42 +0200 Subject: [PATCH] we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices --- classes/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/File.php b/classes/File.php index 210e758419..8eff7d6182 100644 --- a/classes/File.php +++ b/classes/File.php @@ -356,7 +356,7 @@ class File extends Managed_DataObject $enclosure->$key = $this->$key; } - $needMoreMetadataMimetypes = array(null, 'text/html', 'application/xhtml+xml'); + $needMoreMetadataMimetypes = array(null, 'application/xhtml+xml'); if (!isset($this->filename) && in_array(common_bare_mime($enclosure->mimetype), $needMoreMetadataMimetypes)) { // This fetches enclosure metadata for non-local links with unset/HTML mimetypes,