function

htmlentities . string . sncode

VERSIONlatest Convert all applicable characters to HTML entities.

HTMLENTITIES(1e)

NAME

htmlentities - Converts all applicable characters to HTML entities.

SYNOPSIS

htmlentities(str)

DESCRIPTION

Converts all applicable characters to HTML entities.

PARAMETERS

str
The string being converted.

RETURN

Returns the converted string.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

in:  res={_{htmlentities("'aa&<>xaò")}}.
out: res='aa&<>xaò.

AUTHOR

Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>