mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
Merge branch 'MDL-25836_wip' of git://github.com/skodak/moodle
This commit is contained in:
commit
0f13630691
@ -158,7 +158,7 @@ class tinymce_texteditor extends texteditor {
|
||||
if (empty($CFG->xmlstrictheaders) and (!empty($options['legacy']) or !empty($options['noclean']) or !empty($options['trusted']))) {
|
||||
// now deal somehow with non-standard tags, people scream when we do not make moodle code xtml strict,
|
||||
// but they scream even more when we strip all tags that are not strict :-(
|
||||
$params['valid_elements'] = '*[*]';
|
||||
$params['valid_elements'] = 'script[src|type],*[*]'; // for some reason the *[*] does not inlcude javascript src attribute MDL-25836
|
||||
$params['invalid_elements'] = '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user