You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

escape_html()

Usage

escape_html(string)

Description
Replaces special characters in text with their HTML entities, e.g. & with &.

Example

${escape_html('Test & Test"')}

results in

Test & Test

Search results for "escape_html()"

unescape_html()

Reverses the effect of escape_html().

unescape_html(string)

escape_html()

Replaces special characters in text with their HTML entities, e.g. & with &.
Supports all known HTML 4.0 entities, including funky accents.

escape_html(string)