From 90ace18c85d55b29cb1098b0f59ace2ff7b4f879 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sat, 25 Nov 2023 14:59:09 +0300 Subject: [PATCH] imp - Use AppendLine() to append MeCard converted lines --- Instead of using Environment.NewLine, we need to use AppendLine() instead. --- Type: imp Breaking: False Doc Required: False Part: 1/1 --- VisualCard/Converters/MeCard.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/VisualCard/Converters/MeCard.cs b/VisualCard/Converters/MeCard.cs index 8d31bb3..fd7192e 100644 --- a/VisualCard/Converters/MeCard.cs +++ b/VisualCard/Converters/MeCard.cs @@ -88,7 +88,13 @@ public static List GetContactsFromMeCardString(string meCardStr $""" BEGIN:VCARD VERSION:3.0 - {string.Join(Environment.NewLine, values)} + + """ + ); + foreach (var value in values) + masterContactBuilder.AppendLine(value); + masterContactBuilder.AppendLine( + $""" FN:{fullName} END:VCARD """