Expression Language
Also available as:
PDF

escapeHtml4

Description: This function prepares the Subject to be inserted into HTML document by escaping the characters in a String using the HTML entities. Supports all known HTML 4.0 entities.

Subject Type: String

Arguments: No arguments

Return Type: String

Examples: If the "message" attribute is '"bread" & "butter"', then the Expression ${message:escapeHtml4()} will return '"bread" & "butter"'