MDL-39546 Lesson module: removed duplicate to decode special characters
This commit is contained in:
committed by
Sam Hemelryk
parent
f6b6cef8c0
commit
a4a2ddfbf1
@@ -180,7 +180,7 @@ class lesson_page_type_matching extends lesson_page {
|
||||
return $result;
|
||||
}
|
||||
$value = htmlspecialchars_decode($value);
|
||||
$userresponse[] = htmlspecialchars_decode($value);
|
||||
$userresponse[] = $value;
|
||||
// Make sure the user's answer exists in question's answer
|
||||
if (array_key_exists($id, $answers)) {
|
||||
$answer = $answers[$id];
|
||||
|
||||
Reference in New Issue
Block a user