MDL-47494 ddmarker: Incorrect types causing tags to be stripped. #9127

This commit is contained in:
Tim Hunt
2014-01-08 11:48:25 +00:00
parent 0cdce4d520
commit d15e37dde6
@@ -113,7 +113,7 @@ class qtype_ddmarker_edit_form extends qtype_ddtoimage_edit_form_base {
$grouparray[] = $mform->createElement('text', 'coords',
get_string('coords', 'qtype_ddmarker'),
array('size'=>50, 'class'=>'tweakcss'));
$mform->setType('coords', PARAM_NOTAGS);
$mform->setType('coords', PARAM_RAW); // These are validated manually.
$markernos = array();
$markernos[0] = '';
for ($i = 1; $i <= $imagerepeats; $i += 1) {