Goto main content

htmlentities

Convert all applicable characters to HTML entities.

HTMLENTITIES

NAME

htmlentities - Converts all applicable characters to HTML entities.

SYNOPSIS

htmlentities(string)

DESCRIPTION

Converts all applicable characters to HTML entities.

PARAMETERS

string
The string being converted.

RETURN

Returns the converted string.

EXAMPLES

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

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

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

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.