We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fda7f commit c2ec80aCopy full SHA for c2ec80a
main/exercise/exercise.class.php
@@ -4527,13 +4527,13 @@ function ($answerId) use ($objAnswerTmp) {
4527
// This value is the user input, not escaped while correct answer is escaped by ckeditor
4528
// Works with cyrillic alphabet and when using ">" chars see #7718 #7610 #7618
4529
// ENT_QUOTES is used in order to transform ' to '
4530
- if (!$from_database) {
+ //if (!$from_database) {
4531
$studentAnswer = FillBlanks::clearStudentAnswer($studentAnswer);
4532
if ($debug) {
4533
error_log('Student answer cleaned:');
4534
error_log($studentAnswer);
4535
}
4536
- }
+ //}
4537
4538
$isAnswerCorrect = 0;
4539
if (FillBlanks::isStudentAnswerGood($studentAnswer, $correctAnswer, $from_database)) {
0 commit comments