Merge branch 'w28_MDL-33712_m24_extratags' of git://github.com/skodak/moodle

This commit is contained in:
Dan Poltawski
2012-07-10 15:55:58 +08:00
+3
View File
@@ -178,6 +178,9 @@ class tinymce_texteditor extends texteditor {
$params['valid_elements'] = 'script[src|type],*[*]'; // for some reason the *[*] does not inlcude javascript src attribute MDL-25836
$params['invalid_elements'] = '';
}
// Add unique moodle elements - unfortunately we have to decide if these are SPANs or DIVs.
$params['extended_valid_elements'] = 'nolink,tex,algebra,lang[lang]';
$params['custom_elements'] = 'nolink,~tex,~algebra,lang';
if (empty($options['legacy'])) {
if (isset($options['maxfiles']) and $options['maxfiles'] != 0) {