mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Merge branch 'MDL-61194-master' of git://git.cameron1729.xyz/moodle
This commit is contained in:
commit
c166b700d8
@ -188,7 +188,7 @@ EOD;
|
||||
} else if ($convertedfile = $converter->start_conversion($file, 'pdf')) {
|
||||
$files[$filename] = $convertedfile;
|
||||
}
|
||||
} else {
|
||||
} else if ($converter->can_convert_format_to('html', 'pdf')) {
|
||||
// Create a tmp stored_file from this html string.
|
||||
$file = reset($file);
|
||||
// Strip image tags, because they will not be resolvable.
|
||||
|
Loading…
x
Reference in New Issue
Block a user