diff --git a/user/editlib.php b/user/editlib.php index 16fd1684893..b3874644107 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -340,7 +340,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)) {