htmlencode(
TEXT
)

The htmlencode( function converts standard text into HTML text by converting any special characters into the equivalent HTML entities.


Parameters

This function has one parameter:

text – text to be converted.


Description

This function converts standard text into HTML text by converting any special characters into the equivalent HTML entities. This function also converts smart quotes into straight quotes.

htmlencode("Bob & Alice") ☞ Bob & Alice
htmlencode("Copyright © 2016") ☞ Copyright © 2016
htmlencode("“best sushi ever” says Sushi Weekly") ☞ "best sushi ever" says Sushi Weekly

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0