diff --git a/src/MixERP.Net.VCards/Parser/TokenParser.cs b/src/MixERP.Net.VCards/Parser/TokenParser.cs index d76bcaa..d910e6e 100644 --- a/src/MixERP.Net.VCards/Parser/TokenParser.cs +++ b/src/MixERP.Net.VCards/Parser/TokenParser.cs @@ -40,8 +40,10 @@ private static Dictionary GetAdditionalKeyMembers(string data) { value = splitted[1].Trim('"').Trim('\''); } - - members.Add(key, value); + if (!members.ContainsKey(key)) + { + members.Add(key, value); + } } return members; @@ -134,4 +136,4 @@ public static IEnumerable Parse(string contents) return tokens; } } -} \ No newline at end of file +}