(Quick Reference)

hc:cleanHtml

Description

cleans unsafe html against specified whitelist

Attributes

NameRequired?Description
unsafeYesThe unsafe html string to clean
whitelistYesA 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.

Example

<hc:cleanHtml unsafe="${domainInstance.description}" whitelist="basic"/>