pub fn extract_attribute_with_range(
tag: &str,
attr_name: &str,
) -> Option<(String, Range<usize>)>Expand description
Read an HTML attribute with the exact source range of its value.
Slashes belong to unquoted values, including a slash immediately before
>; they mark a self-closing tag only outside an attribute value.