Commit a3574bac authored by hannes's avatar hannes

we _do_ want to show text/html as attachments, since that's how mustard and...

we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices
parent a3b66da2
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment