Skip to main content

html_alternate

Function html_alternate 

Source
pub fn html_alternate(html: &str, base: &Url) -> Option<String>
Expand description

The target of the page’s first <link rel="alternate"> of an ACTIVITY_LINK_TYPES type, resolved against base, the URL the page was served from. Mastodon only meets absolute targets here, and resolving a relative one costs nothing.