|
@@ -2561,9 +2561,8 @@ class Exercise
|
|
|
}
|
|
|
} else {
|
|
|
// This value is the user input, not escaped while correct answer is escaped by fckeditor
|
|
|
-
|
|
|
- $choice[$j] = api_htmlentities(trim($choice[$j]));
|
|
|
-
|
|
|
+ // Works with cyrillic alphabet and when using ">" chars
|
|
|
+ $choice[$j] = htmlspecialchars(trim($choice[$j]));
|
|
|
}
|
|
|
|
|
|
$user_tags[] = $choice[$j];
|