Last updated 2 years ago
Was this helpful?
The HtmlEncode() function converts a text to an HTML encoded text.
HtmlEncode()
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Returns a HTML encoded text. Returns Invalid expression if the value is unknown.
Invalid expression
HtmlEncode(
text
)
HtmlEncode("\"Line 1\"\n'Line 2'")
=> "Line 1" 'Line 2'
a text string that is used in an HTML element