Метод |
Описание |
|
getAllowedAttributes ( ) : array |
Return the list of allowed attributes. |
|
getAllowedTags ( ) : array |
Return the list of allowed HTML tags. |
|
sanitise ( string $value, boolean $isWysiwyg = false ) : string |
Sanitise HTML, by allowing only white-listed tags and attributes. |
|
setAllowedAttributes ( array $allowedAttributes ) : Bolt\Storage\Field\Sanitiser\SanitiserInterface |
Override the allowed attributes. |
|
setAllowedTags ( array $allowedTags ) : Bolt\Storage\Field\Sanitiser\SanitiserInterface |
Override the allowed HTML tags. |
|