Mecha CMS

To::HTML()

Decode HTML special characters.

2.0.0Static

To::HTML(string $in);

Example:

$A = To::HTML('<foo bar="baz">');

Result:

$A = '<foo bar="baz">';