sanitize_url

Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.

Ensure that the input to this filter is HTML unescaped. As the filter is not unescaping any HTML entities.

Edit on GitHub

sanitize_html HTML urlize

url_abs URLs and links is_letsencrypt_valid_hostname

Referred by

Filters

Filters transform template variables before they are rendered.