mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
Merge branch 'MDL-28059' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
6d067fec6f
@ -1528,7 +1528,7 @@ function purify_html($text, $options = array()) {
|
||||
$config->set('Core.ConvertDocumentToFragment', true);
|
||||
$config->set('Core.Encoding', 'UTF-8');
|
||||
$config->set('HTML.Doctype', 'XHTML 1.0 Transitional');
|
||||
$config->set('URI.AllowedSchemes', array('http'=>true, 'https'=>true, 'ftp'=>true, 'irc'=>true, 'nntp'=>true, 'news'=>true, 'rtsp'=>true, 'teamspeak'=>true, 'gopher'=>true, 'mms'=>true));
|
||||
$config->set('URI.AllowedSchemes', array('http'=>true, 'https'=>true, 'ftp'=>true, 'irc'=>true, 'nntp'=>true, 'news'=>true, 'rtsp'=>true, 'teamspeak'=>true, 'gopher'=>true, 'mms'=>true, 'mailto'=>true));
|
||||
$config->set('Attr.AllowedFrameTargets', array('_blank'));
|
||||
|
||||
if (!empty($CFG->allowobjectembed)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user