mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
thanks to Joseph Joseph Rézeau for his attention to this issue. Merged from MOODLE_18_STABLE
This commit is contained in:
parent
6dc323a7ba
commit
76a2edc8fd
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user