Feedback
Last date modified: 2025-Apr-29
Interface: UtilitiesApi
ConvenienceApi.UtilitiesApi
Description
Utility functions made available for scripts
Properties
Properties
sanitize
- sanitize: (
htmlString:string) =>string
Type declaration
- (
htmlString):string
Parameters
| Name | Type | Description |
|---|---|---|
htmlString
|
string
|
string to sanitize |
Returns
string
Sanitized string
Description
Sanitizes a string to ensure that it is safe to be displayed in HTML
On this page