pub(crate) fn elem_attr_is_link(attr_name: &str, elem_name: &str) -> bool {
    // See a comprehensive list of attributes that might contain URLs/URIs
    // over at: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
    matches!(
        (attr_name, elem_name),
        ("href" | "src" | "srcset" | "cite", _) | ("data", "object") | ("onhashchange", "body")
    )
}
/// Determine if an element's attribute contains a link / URL.
Determine if an element's attribute contains a link / URL.
Determine if an element ' s attribute contains a link / URL .
pub(crate) fn elem_attr_is_link(attr_name: &str, elem_name: &str) -> bool {
    // See a comprehensive list of attributes that might contain URLs/URIs
    // over at: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
    matches!(
        (attr_name, elem_name),
        ("href" | "src" | "srcset" | "cite", _) | ("data", "object") | ("onhashchange", "body")
    )
}
pub ( crate ) fn elem_attr_is_link ( attr_name : & str , elem_name : & str ) -> bool { // See a comprehensive list of attributes that might contain URLs/URIs // over at: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes matches ! ( ( attr_name elem_name ) ( " " " " " " " " ) ( " " " " ) ( " " " " ) ) }
Determine if an element's attribute contains a link / URL.
Determine if an element ' s attribute contains a link / URL .
attr_name
&str
elem_name
&str