- result = cgi:tohtml(text)
- result = http.tohtml(text)
SYNOPSIS
DESCRIPTION
Converts the string text into a safe html representation. This means that the characters <, > and & are converted into their HTML representations <, > and & respectively.
Both forms function identical. The first form looks cleaner inside a script, the second form works without needing a live request.