Skip to content
Browse files

Merge branch 'MDL-25836_wip' of git://github.com/skodak/moodle

  • Loading branch information...
2 parents c5ea8d0 + 79abc6d commit 0f1363069191ca2e7527067110a2d5712515e671 Sam Hemelryk committed Jan 17, 2011
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'] = '';
}

0 comments on commit 0f13630

Please sign in to comment.
Something went wrong with that request. Please try again.