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