From: poltawski Date: Thu, 8 Nov 2007 18:32:09 +0000 (+0000) Subject: MDL-12070 - re-enable the use of HTML in choice options X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=39504b69f99369b2f566d42786f75ac2ebba9f41;p=moodle.git MDL-12070 - re-enable the use of HTML in choice options Merged from MOODLE_18_STABLE --- diff --git a/mod/choice/mod_form.php b/mod/choice/mod_form.php index 2a0ae3a05a..95452b2ba6 100644 --- a/mod/choice/mod_form.php +++ b/mod/choice/mod_form.php @@ -49,7 +49,7 @@ class mod_choice_mod_form extends moodleform_mod { $mform->setType('limit', PARAM_INT); $repeateloptions['option']['helpbutton'] = array('options', get_string('modulenameplural', 'choice'), 'choice'); - $mform->setType('option', PARAM_TEXT); + $mform->setType('option', PARAM_CLEANHTML); $mform->setType('optionid', PARAM_INT); @@ -148,4 +148,4 @@ class mod_choice_mod_form extends moodleform_mod { } } -?> \ No newline at end of file +?>