From: Hannes Mannerheim Date: Mon, 20 Oct 2014 14:21:42 +0000 (+0200) Subject: we _do_ want to show text/html as attachments, since that's how mustard and crow... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3574bac6cd80e6af2292cb2e61f45fcc009d433;p=quix0rs-gnu-social.git we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices --- 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,