mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-24223 hopefully more embed BC
This commit is contained in:
parent
c48ab36aeb
commit
a0f97768dc
1 changed files with 1 additions and 0 deletions
|
@ -1514,6 +1514,7 @@ function purify_html($text) {
|
|||
if (!empty($CFG->allowobjectembed)) {
|
||||
$config->set('HTML.SafeObject', true);
|
||||
$config->set('Output.FlashCompat', true);
|
||||
$config->set('HTML.SafeEmbed', true);
|
||||
}
|
||||
|
||||
$def = $config->getHTMLDefinition(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue