diff --git a/components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php b/components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php index db0d24a19960..3b3c0dd606d6 100755 --- a/components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php +++ b/components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php @@ -255,6 +255,10 @@ final protected function buildFeedbackContentFormProperty(string $label, string $property->setUseRte(true); $property->setRteTags(ilObjAdvancedEditing::_getUsedHTMLTags("assessment")); $property->setRTESupport($this->questionOBJ->getId(), "qpl", "assessment"); + $property->usePurifier(true); + $property->setPurifier( + $this->questionOBJ->getHtmlQuestionContentPurifier() + ); } else { $property->setRteTags(ilAssSelfAssessmentQuestionFormatter::getSelfAssessmentTags()); $property->setUseTagsForRteOnly(false);