Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c48ab36
)
MDL-24223 hopefully more embed BC
author
Petr Skoda
<skodak@moodle.org>
Tue, 21 Sep 2010 07:51:09 +0000
(07:51 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Tue, 21 Sep 2010 07:51:09 +0000
(07:51 +0000)
lib/weblib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/weblib.php
b/lib/weblib.php
index
af60b5a
..
66ff2a4
100644
(file)
--- a/
lib/weblib.php
+++ b/
lib/weblib.php
@@
-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);