break after dataURI replacement

This commit is contained in:
Felix Sommer 2024-09-30 22:42:16 +02:00
parent 92023e6dc1
commit b361ea7263
1 changed files with 1 additions and 0 deletions

View File

@ -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
}
}
}