Merge pull request #146 from snshn/image-map-area-href

Resolve hrefs of <area> image-map tags
pull/148/head
Sunshine 4 years ago committed by GitHub
commit c46bd5900b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -380,7 +380,7 @@ pub fn walk_and_embed_assets(
}
}
}
"a" => {
"a" | "area" => {
for attr in attrs_mut.iter_mut() {
if &attr.name.local == "href" {
let attr_value = attr.value.trim();

Loading…
Cancel
Save