MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
thanks to Joseph Joseph Rézeau for his attention to this issue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user