escape_filter
Mark the value as a string that should be auto-escaped.
def escape_filter(
value: string
) - > SafeString
Mark the value as a string that should be auto-escaped.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The raw string or object representation to be processed for HTML auto-escaping. |
Returns
| Type | Description |
|---|---|
SafeString | The escaped string content, marked as safe for HTML output to prevent double-escaping while ensuring special characters are handled. |