we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices

This commit is contained in:
Hannes Mannerheim 2014-10-20 16:21:42 +02:00
parent a3b66da261
commit a3574bac6c
1 changed files with 1 additions and 1 deletions

View File

@ -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,