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

Resolve hrefs of <area> image-map tags
This commit is contained in:
Sunshine 2020-04-04 15:51:45 -04:00 committed by GitHub
commit c46bd5900b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();