TSafeHtml

API Manual

TSafeHtml is a control that strips down all potentially dangerous HTML content. It is mainly a wrapper of the HTMLPurifier project.

To use TSafeHtml, simply enclose the content to be secured within the TSafeHtml component tag in a template. The content may consist of both static text and PRADO controls. If the latter, the rendering result of the controls will be secured.