From b361ea7263e3b9ab12c23fe43711a98dbdcaf671 Mon Sep 17 00:00:00 2001 From: Felix Sommer Date: Mon, 30 Sep 2024 22:42:16 +0200 Subject: [PATCH] break after dataURI replacement --- services/mailer/mail.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/mailer/mail.go b/services/mailer/mail.go index 040fb94a92..8d231e08fa 100644 --- a/services/mailer/mail.go +++ b/services/mailer/mail.go @@ -398,6 +398,7 @@ func Base64InlineImages(body string, ctx *MailCommentContext) (string, error) { } log.Trace("Old value of src attribute: %s, new value (first 100 characters): %s", attr.Val, dataURI[:100]) n.Attr[i].Val = dataURI + break } } }