Merge branch 'MDL-60319-MOODLE_33-google-converter-bug' of https://github.com/mspall/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -47,7 +47,8 @@ class converter implements \core_files\converter_interface {
|
||||
'xls' => 'application/vnd.google-apps.spreadsheet',
|
||||
'xlsx' => 'application/vnd.google-apps.spreadsheet',
|
||||
'ppt' => 'application/vnd.google-apps.presentation',
|
||||
'pptx' => 'application/vnd.google-apps.presentation'
|
||||
'pptx' => 'application/vnd.google-apps.presentation',
|
||||
'html' => 'application/vnd.google-apps.document'
|
||||
];
|
||||
|
||||
/** @var array $export List of supported export file formats */
|
||||
@@ -265,6 +266,6 @@ class converter implements \core_files\converter_interface {
|
||||
* @return string
|
||||
*/
|
||||
public function get_supported_conversions() {
|
||||
return implode(', ', ['rtf', 'doc', 'xls', 'docx', 'xlsx', 'ppt', 'pptx', 'pdf']);
|
||||
return implode(', ', ['rtf', 'doc', 'xls', 'docx', 'xlsx', 'ppt', 'pptx', 'pdf', 'html']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user