True when a link destination has a scheme that is not in SAFE_LINK_SCHEMES, after the tricks a browser (or a
Markdown renderer) undoes: HTML entities (javascript:), percent-escapes, invisible and control characters,
letter case.
Methods
link_destination_is_unsafe
link_destination_is_unsafe(destination: str) -> bool
True when a link destination has a scheme that is not in SAFE_LINK_SCHEMES, after the tricks a browser (or a
Markdown renderer) undoes: HTML entities (javascript:), percent-escapes, invisible and control characters,
letter case.
| Parameter | Type | Description |
|---|---|---|
| destination | str |
Generated with Flude
Copyright © 2026