diff --git a/CHANGELOG.md b/CHANGELOG.md index d7c1253..8002e91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Added ci changes for Moodle 4.3. ### Fixed - Fix the margins in the results page and the voting options. +- Fix & character in the options. ## 1.0.6 - 2023-10-27 ### Added diff --git a/mod_form.php b/mod_form.php index 1436c42..814497a 100644 --- a/mod_form.php +++ b/mod_form.php @@ -85,7 +85,7 @@ public function definition() { } $repeateloptions['option']['helpbutton'] = ['sortoptions', 'sortvoting']; - $mform->setType('option', PARAM_CLEANHTML); + $mform->setType('option', PARAM_TEXT); $mform->setType('optionid', PARAM_INT);