zenario.htmlspecialchars()
zenario.htmlspecialchars(text, preserveLineBreaks, preserveSpaces)
Replaces any special characters in a string with html entities.
E.g. "<" would be replaced with "<" and "&" would be replaced by "&"
text
A string containing plain text to escape.
preserveLineBreaks
If this is set to true, line breaks will be replaced by <br/> tags.
An escaped string.