From 91365ab62a45bc53b50771376fd4d3fad51400ac Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Thu, 14 Nov 2024 12:05:59 +0100 Subject: [PATCH] Test: Do Not Strip Tags on Input in ErrorText See: https://mantis.ilias.de/view.php?id=42348 --- .../ILIAS/TestQuestionPool/classes/class.assErrorText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ILIAS/TestQuestionPool/classes/class.assErrorText.php b/components/ILIAS/TestQuestionPool/classes/class.assErrorText.php index 74f417491dbf..be51df7a8845 100755 --- a/components/ILIAS/TestQuestionPool/classes/class.assErrorText.php +++ b/components/ILIAS/TestQuestionPool/classes/class.assErrorText.php @@ -671,7 +671,7 @@ public function getErrorText(): string public function setErrorText(?string $text): void { - $this->errortext = $this->getHtmlQuestionContentPurifier()->purify($text ?? ''); + $this->errortext = $text ?? ''; } public function getParsedErrorText(): array