Skip to content

Commit b361ea7

Browse files
committed
break after dataURI replacement
1 parent 92023e6 commit b361ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/mailer/mail.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ func Base64InlineImages(body string, ctx *MailCommentContext) (string, error) {
398398
}
399399
log.Trace("Old value of src attribute: %s, new value (first 100 characters): %s", attr.Val, dataURI[:100])
400400
n.Attr[i].Val = dataURI
401+
break
401402
}
402403
}
403404
}

0 commit comments

Comments
 (0)