aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/feed/mail.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 3010bfb..b201d61 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -328,6 +328,11 @@ func (item *item) buildBody() {
cid := "cid:" + cidNr(idx)
selection.SetAttr(attr, cid)
}
+
+ // srcset overrides src and would reload all the images
+ // we do not want to include all images in the srcset either, so just strip it
+ selection.RemoveAttr("srcset")
+
doneAnything = true
})