safeseq
A "safe" filter for sequences. Mark each element in the sequence, individually, as safe, after converting them to strings. Return a list with the results.
def safeseq(
value: iterable
) - > list
A "safe" filter for sequences. Mark each element in the sequence, individually, as safe, after converting them to strings. Return a list with the results.
Parameters
| Name | Type | Description |
|---|---|---|
| value | iterable | A sequence of objects to be converted to strings and marked as safe for template rendering |
Returns
| Type | Description |
|---|---|
list | A list of strings where each element has been explicitly marked as safe for HTML output |