urlize
Convert URLs in plain text into clickable links.
def urlize(
value: string,
autoescape: boolean = True
) - > string
Convert URLs in plain text into clickable links.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The plain text content containing URLs to be converted into HTML links. |
| autoescape | boolean = True | Determines whether to escape HTML characters in the input text before processing. |
Returns
| Type | Description |
|---|---|
string | The HTML string containing clickable anchor tags with nofollow attributes, marked as safe for rendering. |