MDL-24223 hopefully more embed BC

This commit is contained in:
Petr Skoda 2010-09-21 07:51:09 +00:00
parent c48ab36aeb
commit a0f97768dc

View file

@ -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);