SUIT Framework

Scripting Using Integrated Templates

Docs - entities

07/31/2010: SUIT 2.0.1 and Rulebox 1.1.0 released.

Available Since: Rulebox (1.0.0)

Convert HTML characters to their respective entities.

Syntax [entities]string[/entities]
Parameters
string

The string convert HTML to entities in.

Static Variables
entities

Whether or not the output should have the HTML entities transformed. (Default: true)

json

Whether or not the variable should be JSON encoded. (Default: false)

Output

The string with the HTML escaped.

See Also