safe
Mark the value as a string that should not be auto-escaped.
def safe(
value: string
) - > SafeString
Mark the value as a string that should not be auto-escaped.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The string content to be marked as safe for HTML rendering. |
Returns
| Type | Description |
|---|---|
SafeString | The input value wrapped in a SafeString object, signaling to the template engine that no further HTML escaping is required. |