From f88b46c78f653b104194759bd31295e3388684f0 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 24 Jan 2018 15:58:45 -0500 Subject: [PATCH] (fix) Keep remote images when composing a HTML msg --- SoObjects/Mailer/NSString+Mail.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SoObjects/Mailer/NSString+Mail.m b/SoObjects/Mailer/NSString+Mail.m index 038274dcd..ba88726dc 100644 --- a/SoObjects/Mailer/NSString+Mail.m +++ b/SoObjects/Mailer/NSString+Mail.m @@ -262,6 +262,7 @@ attributes: (id ) attributes { NSString *tagName; + BOOL appendElement = YES; showWhoWeAre(); @@ -381,9 +382,11 @@ } [result appendString: @"/>"]; + + appendElement = NO; } } - else if (voidTags) + if (appendElement && voidTags) { NSString *type; int i;