Fix fill in blank when using Russian chars see #7718

1.10.x
Julio Montoya 10 years ago
parent e4f08e2ce5
commit d89a427d14
  1. 5
      main/exercice/exercise.class.php

@ -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];

Loading…
Cancel
Save