Merge branch 'MDL-62939-34-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE

This commit is contained in:
Jun Pataleta
2018-07-24 11:58:01 +08:00
+1 -1
View File
@@ -339,7 +339,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
}
$mform->addElement('editor', 'description_editor', get_string('userdescription'), null, $editoroptions);
$mform->setType('description_editor', PARAM_CLEANHTML);
$mform->setType('description_editor', PARAM_RAW);
$mform->addHelpButton('description_editor', 'userdescription');
if (empty($USER->newadminuser)) {