Skip to content
Browse files

MDL-34063 XHTML files should use the HTML icon, not the markup icon

  • Loading branch information...
1 parent d71b79a commit c7aed1e11bf0cb2abb5150dc82e51cb6f6b19842 @Dave-B Dave-B committed with marinaglancy Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/filelib.php
View
2 lib/filelib.php
@@ -1405,7 +1405,7 @@ function &get_mimetypes_array() {
'hqx' => array ('type'=>'application/mac-binhex40', 'icon'=>'archive', 'groups'=>array('archive'), 'string'=>'archive'),
'htc' => array ('type'=>'text/x-component', 'icon'=>'markup'),
'html' => array ('type'=>'text/html', 'icon'=>'html', 'groups'=>array('web_file')),
- 'xhtml'=> array ('type'=>'application/xhtml+xml', 'icon'=>'markup', 'groups'=>array('web_file')),
+ 'xhtml'=> array ('type'=>'application/xhtml+xml', 'icon'=>'html', 'groups'=>array('web_file')),
'htm' => array ('type'=>'text/html', 'icon'=>'html', 'groups'=>array('web_file')),
'ico' => array ('type'=>'image/vnd.microsoft.icon', 'icon'=>'image', 'groups'=>array('image'), 'string'=>'image'),
'ics' => array ('type'=>'text/calendar', 'icon'=>'text'),

0 comments on commit c7aed1e

Please sign in to comment.
Something went wrong with that request. Please try again.