mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-02 15:09:33 -05:00
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])
|
log.Trace("Old value of src attribute: %s, new value (first 100 characters): %s", attr.Val, dataURI[:100])
|
||||||
n.Attr[i].Val = dataURI
|
n.Attr[i].Val = dataURI
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user