Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/editor/tinymce/lib.php
View
2  lib/editor/tinymce/lib.php
@@ -158,7 +158,7 @@ protected function get_init_params($elementid, array $options=null) {
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'] = '';
}
Please sign in to comment.
Something went wrong with that request. Please try again.