3 declare(strict_types=1);
27 $this->document_purifier = $a_document_purifier;
32 $purified_html_content = $this->document_purifier->purify($a_raw_mount_instructions);
35 if (!$html_validator->isValid()) {
36 $purified_html_content = nl2br($purified_html_content);
__construct(ilHtmlPurifierInterface $a_document_purifier)
ilHtmlPurifierInterface $document_purifier
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
parseInstructionsToAssocArray(string $a_raw_mount_instructions)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
processMountInstructions(string $a_raw_mount_instructions)
Interface for html sanitizing functionality.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...