修复收件内嵌图片只能显示一张
This commit is contained in:
@@ -113,9 +113,9 @@ function toMessage(message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function formatImage(content) {
|
function formatImage(content) {
|
||||||
content = content || ''
|
content = content || '';
|
||||||
const domain = settingStore.settings.r2Domain;
|
const domain = settingStore.settings.r2Domain;
|
||||||
return content.replace('{{domain}}', domain + '/');
|
return content.replace(/{{domain}}/g, domain + '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
function showImage(key) {
|
function showImage(key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user