From 791e44796e04a586672eab860c6881bc95bcb1d5 Mon Sep 17 00:00:00 2001 From: Sunshine Date: Sat, 4 Apr 2020 14:55:45 -0400 Subject: [PATCH] resolve hrefs of image-map tags --- src/html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html.rs b/src/html.rs index 71380c2..87f202e 100644 --- a/src/html.rs +++ b/src/html.rs @@ -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();