summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-14 13:38:26 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-14 13:38:26 -0400
commitc97957cf3e42b88f345408cd6d399bfe2da27f84 (patch)
treecd22d25d5d5b444dc221205bdc61754640208909
parent593af9feb6cdbb88e250501938722e656fe4a17a (diff)
HTML "File"/attachments should probably not be considered enclosures.
-rw-r--r--classes/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File.php b/classes/File.php
index 289c6e441..56d9f9827 100644
--- a/classes/File.php
+++ b/classes/File.php
@@ -198,7 +198,7 @@ class File extends Memcached_DataObject
if(isset($this->filename)){
return true;
}
- $notEnclosureMimeTypes = array('text/html');
+ $notEnclosureMimeTypes = array('text/html','application/xhtml+xml');
$mimetype = strtolower($this->mimetype);
$semicolon = strpos($mimetype,';');
if($semicolon){