hc:cleanHtml
Description
cleans unsafe html against specified whitelistAttributes
Name | Required? | Description |
---|---|---|
unsafe | Yes | The unsafe html string to clean |
whitelist | Yes | A whitelist name that will be used to clean the unsafe html. It can be any of the default whitelist or custom whitelist defined in configuration. |
<hc:cleanHtml unsafe="${domainInstance.description}" whitelist="basic"/>