Skip to content

Commit

Permalink
Test: Fix Unterminated Html-Entities
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Nov 14, 2024
1 parent c96e6a8 commit d253fca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public function getTestOutput(
$user_solution = htmlentities($user_solution);
}

$user_solution = str_replace(['{', '}', '\\'], ['&#123', '&#125', '&#92'], $user_solution);
$user_solution = str_replace(['{', '}', '\\'], ['{', '}', '\'], $user_solution);
}

$template = new ilTemplate("tpl.il_as_qpl_text_question_output.html", true, true, "components/ILIAS/TestQuestionPool");
Expand Down

0 comments on commit d253fca

Please sign in to comment.