From a1fa820adebe99f7b0a0fb845c41fc1d1bb0dd14 Mon Sep 17 00:00:00 2001 From: Odei Alba Date: Fri, 10 Nov 2023 12:37:46 +0100 Subject: [PATCH] SV-36 Fix & character --- CHANGELOG.md | 1 + mod_form.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);