summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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){