mirror of https://github.com/go-gitea/gitea.git
break after dataURI replacement
This commit is contained in:
parent
92023e6dc1
commit
b361ea7263
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue