StringEscapeUtils
Placeholder that forwards all method calls to StringEscapeUtils and ensures that the results are not HTML-escaped when inserted into the template.
Please refer to the original documentation for more information on implementation details.
This placeholder provides only the subset of methods from the original StringEscapeUtils that is relevant for template development.
Viewport 2.23.10 this placeholder supplies org.apache.commons.text.StringEscapeUtils instead of org.apache.commons.lang.StringEscapeUtils. The ability to use org.apache.commons.lang.StringEscapeUtils methods is deprecated and will be removed in a future release.
Methods
Name | Type | Description |
---|---|---|
| String | Escapes the characters in a
|
| String | Escapes the characters in a
|
| String | Escapes the characters in a
|
| String | Escapes the characters in a
|
| String | Unescapes a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes. Supports HTML 4.0 entities.
|
| String | Unescapes a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes. Supports HTML 3.0 entities.
|
| String | Unescapes a string containing XML entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
|