SUIT Framework

Scripting Using Integrated Templates

Docs - entities

12/27/2015: SUIT Framework is no longer actively maintained.

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