From 76a2edc8fd71a6ad0bddb5e3614c7e9f9a19c50a Mon Sep 17 00:00:00 2001 From: poltawski Date: Sat, 17 Mar 2007 22:55:05 +0000 Subject: [PATCH] =?utf8?q?MDL-6386=20-=20Regression=20from=20MDL-6462,=20l?= =?utf8?q?ost=20stripslashes=20in=20CLOZE=20question,=20thanks=20to=20Jose?= =?utf8?q?ph=20Joseph=20R=C3=83=C2=83=C3=82=C2=A9zeau=20=20for=20his=20att?= =?utf8?q?ention=20to=20this=20issue.=20Merged=20from=20MOODLE=5F18=5FSTAB?= =?utf8?q?LE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- question/type/multianswer/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index e9ed1b5776..2fc199a4d8 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -232,7 +232,7 @@ class embedded_cloze_qtype extends default_questiontype { $inputname = $nameprefix.$positionkey; if (isset($state->responses[$positionkey])) { - $response = $state->responses[$positionkey]; + $response = stripslashes($state->responses[$positionkey]); } else { $response = null; } -- 2.39.5