bolorundurowb / vCardLib

📇 A .NET standard library for reading and writing vCard files
https://github.com/bolorundurowb/vCardLib/blob/master/README.md
MIT License
27 stars 15 forks source link

v3 Serializer adds closing brackets after the variable name #48

Closed JochumMedia closed 2 years ago

JochumMedia commented 2 years ago

If I use the serializer with version 3, I have the problem that closing brackets appear in the code. For example at the phone number. This is also visible in the file v3Serializer.cs. Because of this the vCard can not be interpreted.

In both examples I used the same data:

BEGIN:VCARD VERSION:2.1 REV:20211125T085009Z N:Muster;Andreas;;; KIND:Individual GENDER:None TEL;WORK: 4123456789 TEL;CELL: 41987654321 EMAIL;WORK:andreas.muster@test.atd ADR;WORK:Gewerbepark,1234 Musterstadt,Österreich END:VCARD

BEGIN:VCARD VERSION:3.0 REV:20211125T085038Z N:Muster;Andreas;;; KIND:Individual GENDER:None TEL);TYPE=WORK: 4123456789 TEL);TYPE=CELL: 41987654321 EMAIL);TYPE=WORK:andreas.muster@test.atd ADR);TYPE=WORK:Gewerbepark,1234 Musterstadt,Österreich END:VCARD