From d15e37dde6501f530f632640de06f3cdd4c0590e Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 8 Jan 2014 11:48:25 +0000 Subject: [PATCH] MDL-47494 ddmarker: Incorrect types causing tags to be stripped. #9127 --- question/type/ddmarker/edit_ddmarker_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/ddmarker/edit_ddmarker_form.php b/question/type/ddmarker/edit_ddmarker_form.php index 300e557ee85..4d8b6d4e2fe 100644 --- a/question/type/ddmarker/edit_ddmarker_form.php +++ b/question/type/ddmarker/edit_ddmarker_form.php @@ -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) {