resolve hrefs of <area> image-map tags

This commit is contained in:
Sunshine 2020-04-04 14:55:45 -04:00
parent b428dd8471
commit 791e44796e
No known key found for this signature in database
GPG Key ID: B80CA68703CD8AB1
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();