Skip to content

Commit

Permalink
Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com…
Browse files Browse the repository at this point in the history
…/mudrd8mz/moodle
  • Loading branch information
junpataleta committed Jul 24, 2018
2 parents 9266d24 + 067d0ef commit 07249cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/editlib.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit 07249cb

Please sign in to comment.